diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2012-07-18 12:35:28 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-07-27 11:42:34 +1000 |
commit | bac821a6e3404330d509fd3a245bf7701f210c7c (patch) | |
tree | 361463f5ee076563247aaba0dc8124a73fe67295 /lib/hexdump.c | |
parent | e5ae3cdfd5741364e39705592b9aee9fb836f3d3 (diff) | |
download | linux-bac821a6e3404330d509fd3a245bf7701f210c7c.tar.bz2 |
powerpc/ftrace: Trace function graph entry before updating index
As Colin Cross ported my x86 change to ARM, he also pointed out that
powerpc is also behind in this fix.
The commit 722b3c746953 "ftrace/graph: Trace function entry before
updating index" fixes an issue with function graph tracing for x86,
where if the called entry function decides not to trace interrupts, it
can fail the check if an interrupt comes in just after the
curr_ret_stack is updated.
The solution is to call the entry function first, then update the
curr_ret_stack if the entry function wants to be traced.
Cc: Colin Cross <ccross@android.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/hexdump.c')
0 files changed, 0 insertions, 0 deletions