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

Michael Ellerman patch-notifications at ellerman.id.au
Thu Feb 15 23:57:37 AEDT 2024


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
> 	write
> 	-                python (9107)
> 	    8
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/64: Set task pt_regs->link to the LR value on scv entry
      https://git.kernel.org/powerpc/c/aad98efd0b121f63a2e1c221dcb4d4850128c697

cheers


More information about the Linuxppc-dev mailing list