mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
4627a000dc
The perf probe related tests like probe_vfs_getname.sh which is in "tools/perf/tests/shell" directory have dependency on debuginfo information in the kernel. Currently debuginfo check is handled by skip_if_no_debuginfo function in the file "lib/probe_vfs_getname.sh". skip_if_no_debuginfo function looks for this specific error log from perf probe to skip the testcase: <<>> Failed to find the path for the kernel|Debuginfo-analysis is not supported <>> But in some case, like this one in powerpc, while running this test, observed error logs is: <<>> The /lib/modules/<version>/build/vmlinux file has no debug information. Rebuild with CONFIG_DEBUG_INFO=y, or install an appropriate debuginfo package. Error: Failed to add events. <<>> Update the skip_if_no_debuginfo function to include the above error, to skip the test in these scenarios too. Reported-by: Disha Goel <disgoel@linux.vnet.ibm.com> Signed-off-by: Athira Jajeev <atrajeev@linux.vnet.ibm.com> Tested-by: Disha Goel <disgoel@linux.vnet.ibm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Nageswara R Sastry <rnsastry@linux.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org Link: https://lore.kernel.org/r/20220916104904.99798-1-atrajeev@linux.vnet.ibm.com Reviewed-By: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
lib | ||
buildid.sh | ||
daemon.sh | ||
pipe_test.sh | ||
probe_vfs_getname.sh | ||
record_offcpu.sh | ||
record.sh | ||
record+probe_libc_inet_pton.sh | ||
record+script_probe_vfs_getname.sh | ||
record+zstd_comp_decomp.sh | ||
stat_all_metricgroups.sh | ||
stat_all_metrics.sh | ||
stat_all_pmu.sh | ||
stat_bpf_counters_cgrp.sh | ||
stat_bpf_counters.sh | ||
stat.sh | ||
stat+csv_output.sh | ||
stat+csv_summary.sh | ||
stat+json_output.sh | ||
stat+shadow_stat.sh | ||
test_arm_callgraph_fp.sh | ||
test_arm_coresight.sh | ||
test_arm_spe_fork.sh | ||
test_arm_spe.sh | ||
test_brstack.sh | ||
test_intel_pt.sh | ||
trace+probe_vfs_getname.sh |