ftrace: fixes for PPC
Status from this message: applied to tip/tracing/ftrace, thanks Steve.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ftrace: use ftrace_release for all dynamic ftrace functionsinclude/ | +5 | 0 replies | |
| 2/2 | ftrace: fix unlocking of hashkernel/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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