Re: [PATCH] perf,x86: avoid missing caller address in stack traces captured in uprobe

2024-07-02 Thread Andrii Nakryiko
On Tue, Jul 2, 2024 at 2:50 AM Peter Zijlstra wrote: > > > +Josj +LKML > ack, will add for next revision > On Mon, Jul 01, 2024 at 04:10:27PM -0700, Andrii Nakryiko wrote: > > When tracing user functions with uprobe functionality, it's common to > > install the probe (e.g., a BPF program) at th

Re: [PATCH] perf,x86: avoid missing caller address in stack traces captured in uprobe

2024-07-02 Thread Peter Zijlstra
+Josj +LKML On Mon, Jul 01, 2024 at 04:10:27PM -0700, Andrii Nakryiko wrote: > When tracing user functions with uprobe functionality, it's common to > install the probe (e.g., a BPF program) at the first instruction of the > function. This is often going to be `push %rbp` instruction in function