Skip to content

ppc64 ftrace implementation

Torsten Duwe linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ppc64 ftrace implementation
Quoted 10 lines · Jiri Kosina
Quoted 4 lines · Michael Ellerman
Quoted 2 lines

ftrace already handles recursion protection by itself (depending on the per-ftrace-ops FTRACE_OPS_FL_RECURSION_SAFE flag).

OK, so I wonder why that's not working for us?

The situation when traced function recurses to itself is different from the situation when tracing core infrastrcuture would recurse to itself while performing tracing.

I have used this inspiration to add a catch-all parachute for ftrace_caller, see my last reply. It reappears here as patch 4/4. Expect noticable performance impact compared to the selected "notrace" attributation discussed here. This should still be done in a second step especially for the hardware assistance functions I mentioned.

Torsten