aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorChaitanya S Prakash <[email protected]>2024-06-01 12:59:46 +0000
committerNamhyung Kim <[email protected]>2024-06-25 18:06:19 +0000
commitabc0f0c444f1c485320961c98edf27737b465e03 (patch)
tree53aa3ee2a2ffefaf4cc94bb4dd03ac4a08d62b6f /tools/perf/scripts/python/mem-phys-addr.py
parenttools/perf: Fix parallel-perf python script to replace new python syntax ":="... (diff)
downloadkernel-abc0f0c444f1c485320961c98edf27737b465e03.tar.gz
kernel-abc0f0c444f1c485320961c98edf27737b465e03.zip
perf test: Check output of the probe ... --funcs command
Test "perf probe of function from different CU" only checks if the perf command has failed and doesn't test the --funcs output. In the issue reported in the previous commit, the garbage output of the --funcs command was being ignored by the test when it could have been caught. The script first makes use of --funcs option with the perf probe command to check if the function "foo" exists in the testfile before adding a probe to it in the next command. The output of probe...--funcs command is redirected to stdout, therefore, add '| grep "foo"' to validate the result. Signed-off-by: Chaitanya S Prakash <[email protected]> Reviewed-by: Masami Hiramatsu (Google) <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions