Re: [PATCH v2] powerpc/64: Set task pt_regs->link to the LR value on scv entry

2024-02-15 Thread Michael Ellerman
On Fri, 02 Feb 2024 21:13:16 +0530, Naveen N Rao wrote: > Nysal reported that userspace backtraces are missing in offcputime bcc > tool. As an example: > $ sudo ./bcc/tools/offcputime.py -uU > Tracing off-CPU time (us) of user threads by user stack... Hit Ctrl-C to > end. > > ^C >

[PATCH v2] powerpc/64: Set task pt_regs->link to the LR value on scv entry

2024-02-02 Thread Naveen N Rao
Nysal reported that userspace backtraces are missing in offcputime bcc tool. As an example: $ sudo ./bcc/tools/offcputime.py -uU Tracing off-CPU time (us) of user threads by user stack... Hit Ctrl-C to end. ^C write -python (9107) 8