Skip to content

ftrace: fixes for PPC

Steven Rostedt linuxppc-dev lkml 1 version Applied

Status from this message: applied to tip/tracing/ftrace, thanks Steve.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ftrace: use ftrace_release for all dynamic ftrace functionsinclude/linux/ftrace.h+5 -40 replies
2/2ftrace: fix unlocking of hashkernel/trace/ftrace.c+2 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] ftrace: fixes for PPC

I spent the day chasing a bug that would hang PPC on boot up when ftrace is configured in. I found that it was simply a stupid bug I did to handle the non MCOUNT_RECORD case. Since I was testing only on x86, and the MCOUNT_RECORD is automatically set for dynamic ftrace if it is available, I did not test the case where MCOUNT_RECORD was not set.

I have not finished porting MCOUNT_RECORD to PPC, but have found that it has caused some issues for archs that do not support it yet.

This patch series handles these cases.

-- Steve