linux/tools/perf/tests/shell
Namhyung Kim 72d81e1062 perf test: Skip syscall enum test if no landlock syscall
The perf trace enum augmentation test specifically targets landlock_
add_rule syscall but IIUC it's an optional and can be opt-out by a
kernel config.

Currently trace_landlock() runs `perf test -w landlock` before the
actual testing to check the availability but it's not enough since the
workload always returns 0.  Instead it could check if perf trace output
has 'landlock' string.

Fixes: d66763fed3 ("perf test trace_btf_enum: Add regression test for the BTF augmentation of enums in 'perf trace'")
Reviewed-by: Howard Chu <howardchu95@gmail.com>
Link: https://lore.kernel.org/r/20250128170629.1251574-1-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-01-28 09:29:39 -08:00
..
attr
base_probe
base_report
common
coresight
lib
annotate.sh
attr.sh
buildid.sh
daemon.sh
diff.sh
ftrace.sh
list.sh
lock_contention.sh
perftool-testsuite_probe.sh
perftool-testsuite_report.sh
pipe_test.sh
probe_vfs_getname.sh
record_bpf_filter.sh
record_lbr.sh
record_offcpu.sh
record_sideband.sh
record.sh
record+probe_libc_inet_pton.sh
record+script_probe_vfs_getname.sh
record+zstd_comp_decomp.sh
script.sh
stat_all_metricgroups.sh
stat_all_metrics.sh
stat_all_pfm.sh
stat_all_pmu.sh
stat_bpf_counters_cgrp.sh
stat_bpf_counters.sh
stat_metrics_values.sh
stat.sh
stat+csv_output.sh
stat+csv_summary.sh
stat+json_output.sh
stat+shadow_stat.sh
stat+std_output.sh
test_arm_callgraph_fp.sh
test_arm_coresight_disasm.sh
test_arm_coresight.sh
test_arm_spe_fork.sh
test_arm_spe.sh
test_brstack.sh
test_data_symbol.sh
test_intel_pt.sh
test_java_symbol.sh
test_perf_data_converter_json.sh
test_stat_intel_tpebs.sh
test_task_analyzer.sh
test_uprobe_from_different_cu.sh
trace_btf_enum.sh perf test: Skip syscall enum test if no landlock syscall 2025-01-28 09:29:39 -08:00
trace_btf_general.sh
trace_exit_race.sh
trace+probe_vfs_getname.sh