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 perf test perftool_testsuite: Return correct value for skipping 2025-01-14 14:57:20 -03:00
base_report perf test perftool_testsuite: Add missing description 2025-01-14 14:57:20 -03:00
common perf test perftool_testsuite: Return correct value for skipping 2025-01-14 14:57:20 -03:00
coresight perf tools: Expose quiet/verbose variables in Makefile.perf 2025-01-16 10:59:20 -08:00
lib perf stat: Fix trailing comma when there is no metric unit 2024-12-26 12:20:43 -03:00
annotate.sh
attr.sh
buildid.sh
daemon.sh
diff.sh
ftrace.sh perf test: Update ftrace test to use --graph-opts 2025-01-08 17:20:42 -03:00
list.sh
lock_contention.sh
perftool-testsuite_probe.sh perf test: Mark remaining probe tests as exclusive 2025-01-10 10:59:42 -03:00
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 perf test record+probe_libc_inet_pton: Make test resilient 2025-01-14 14:57:20 -03:00
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 perf test stat: Avoid hybrid assumption when virtualized 2025-01-14 14:57:19 -03:00
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 perf tests arm_spe: Add test for discard mode 2025-01-13 11:45:05 -03:00
test_brstack.sh perf test brstack: Speed up running test by using tr -s instead of xargs 2025-01-14 14:57:19 -03:00
test_data_symbol.sh
test_intel_pt.sh perf intel-pt: Add a test for pause / resume 2024-12-18 16:24:32 -03:00
test_java_symbol.sh
test_perf_data_converter_json.sh
test_stat_intel_tpebs.sh
test_task_analyzer.sh perf tests shell task_analyzer: Run this test exclusively 2025-01-08 17:20:42 -03:00
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 perf test trace_btf_general: Fix shellcheck warning 2025-01-08 17:36:04 -03:00
trace_exit_race.sh
trace+probe_vfs_getname.sh