diff options
author | Steven Rostedt <[email protected]> | 2024-10-11 13:20:42 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-10-15 17:22:29 -0400 |
commit | 8684f2f37d65eeb30b6f704750c691b6e697854b (patch) | |
tree | c1a8f61aeb24c9ea2c86952c0d084b66258a758d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0b582611a8f4270fa357a22a546909b2dd5fc5fe (diff) |
selftests/ftrace: Fix check of return value in fgraph-retval.tc test
The addition of recording both the function name and return address to the
function graph tracer updated the selftest to check for "=-5" from "= -5".
But this causes the test to fail on certain configs, as "= -5" is still a
value that can be returned if function addresses are not enabled (older kernels).
Check for both "=-5" and " -5" as a success value.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Donglin Peng <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: 21e92806d39c6 ("function_graph: Support recording and printing the function return address")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions