aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2022-02-15 19:31:23 +0100
committerMichael Ellerman <[email protected]>2022-02-16 23:09:47 +1100
commitdf45a55788286c541449d82ee09fef3ac5ff77a1 (patch)
tree6cac61e962dd1bf768a0fcbf9a90297720a91efc /tools/perf/scripts/python
parent34d8dac807f0ee3dc42ab45bdb284a3caf2b5ed1 (diff)
powerpc/ftrace: Add recursion protection in prepare_ftrace_return()
The function_graph_enter() does not provide any recursion protection. Add a protection in prepare_ftrace_return() in case function_graph_enter() calls something that gets function graph traced. Fixes: 830213786c49 ("powerpc/ftrace: directly call of function graph tracer by ftrace caller") Reported-by: Naveen N. Rao <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/74edf2ff0a60e66b0d9225a137100a86a0557032.1644949750.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions