aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2019-10-09 11:05:38 -0400
committerSteven Rostedt (VMware) <[email protected]>2019-10-12 20:49:33 -0400
commit7f8557b88d6aa5bf31f25f6013d81355a1b1d48d (patch)
treebe090a9734dde6117e3777e18637586fe8a2c7e9 /tools/perf/util/trace-event-scripting.c
parentbf8e602186ec402ed937b2cbd6c39a34c0029757 (diff)
recordmcount: Fix nop_mcount() function
The removal of the longjmp code in recordmcount.c mistakenly made the return of make_nop() being negative an exit of nop_mcount(). It should not exit the routine, but instead just not process that part of the code. By exiting with an error code, it would cause the update of recordmcount to fail some files which would fail the build if ftrace function tracing was enabled. Link: http://lkml.kernel.org/r/[email protected] Reported-by: Uwe Kleine-König <[email protected]> Tested-by: Uwe Kleine-König <[email protected]> Fixes: 3f1df12019f3 ("recordmcount: Rewrite error/success handling") Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions