Message ID | 20210910183352.3151445-1-songliubraving@fb.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: introduce bpf_get_branch_snapshot | expand |
Hi Peter, > On Sep 10, 2021, at 11:33 AM, Song Liu <songliubraving@fb.com> wrote: > > Changes v6 => v7: > 1. Improve/fix intel_pmu_snapshot_branch_stack() logic. (Peter). Would you mind reply with your Acked-by or Reviewed-by on v7? I will fix the comment in the selftest in v8 or a follow-up patch. Thanks, Song [...]
On Fri, Sep 10, 2021 at 11:34 AM Song Liu <songliubraving@fb.com> wrote: > > Changes v6 => v7: > 1. Improve/fix intel_pmu_snapshot_branch_stack() logic. (Peter). > > Branch stack can be very useful in understanding software events. For > example, when a long function, e.g. sys_perf_event_open, returns an errno, > it is not obvious why the function failed. Branch stack could provide very > helpful information in this type of scenarios. > > This set adds support to read branch stack with a new BPF helper > bpf_get_branch_trace(). Currently, this is only supported in Intel systems. > It is also possible to support the same feaure for PowerPC. Applied. Thanks