2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
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 perf tools: Don't set attr.exclude_guest by default 2024-10-22 09:52:11 -07:00
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 perf/test: Speed up test case perf annotate basic tests 2024-09-26 23:42:46 -07:00
attr.sh perf test: Move attr files into shell directory where they are used 2024-10-17 13:17:36 -07:00
buildid.sh perf tests shell: Fixed shellcheck warnings 2023-06-13 23:40:34 -03:00
daemon.sh perf test shell daemon: Make signal test less racy 2024-01-26 10:51:49 -03:00
diff.sh perf test shell diff: Skip test if test_loop symbol is missing in the perf binary 2023-12-06 13:01:36 -03:00
ftrace.sh perf test: Update ftrace test to use --graph-opts 2025-01-08 17:20:42 -03:00
list.sh perf test: Avoid list test blocking on writing to stdout 2024-10-28 09:32:57 -07:00
lock_contention.sh perf test: Speed up some tests using perf list 2024-10-17 09:55:58 -07:00
perftool-testsuite_probe.sh perf test: Mark remaining probe tests as exclusive 2025-01-10 10:59:42 -03:00
perftool-testsuite_report.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
pipe_test.sh perf test: Fix perf test case 84 on s390 2024-10-19 09:39:54 -07:00
probe_vfs_getname.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record_bpf_filter.sh perf test: Add 'perf record cgroup' filtering test 2024-08-28 18:22:27 -03:00
record_lbr.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record_offcpu.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record_sideband.sh perf tests: Fix shellcheck warning in record_sideband.sh 2023-10-17 12:40:51 -07:00
record.sh perf tests: Make leader sampling test work without branch event 2024-11-16 16:30:39 -03:00
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 perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record+zstd_comp_decomp.sh perf tests record+zstd_comp_decomp: Fix the shellcheck warnings about word splitting/quoting 2023-08-03 17:01:27 -03:00
script.sh perf test: Avoid python leak sanitizer test failures 2024-07-31 16:12:59 -03:00
stat_all_metricgroups.sh perf test: Be more tolerant of metricgroup failures 2024-09-24 10:46:24 -07:00
stat_all_metrics.sh perf test: Update all metrics test like metricgroups test 2024-10-19 09:34:56 -07:00
stat_all_pfm.sh perf test: Add test of libpfm4 events 2023-06-12 15:57:53 -03:00
stat_all_pmu.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
stat_bpf_counters_cgrp.sh perf test: Remove cpu-list BPF cgroup counter test 2024-11-04 22:10:48 -08:00
stat_bpf_counters.sh perf test: Use sqrtloop workload to test bperf event 2024-11-01 23:31:08 -07:00
stat_metrics_values.sh perf test: Simplify metric value validation test final report 2024-02-01 22:16:37 -08:00
stat.sh perf test stat: Avoid hybrid assumption when virtualized 2025-01-14 14:57:19 -03:00
stat+csv_output.sh perf stat: Support per-cluster aggregation 2024-02-09 14:59:53 -08:00
stat+csv_summary.sh tests/shell: Fix shellcheck issues in tests/shell/stat+shadow_stat.sh tetscase 2023-09-26 21:47:12 -07:00
stat+json_output.sh perf test: Stat output per thread of just the parent process 2024-03-21 13:54:39 -03:00
stat+shadow_stat.sh tests/shell: Fix shellcheck issues in tests/shell/stat+shadow_stat.sh tetscase 2023-09-26 21:47:12 -07:00
stat+std_output.sh perf test: Parse 'perf stat' Topdown events for aarch64 2024-12-10 15:44:07 -03:00
test_arm_callgraph_fp.sh perf test: Make test_arm_callgraph_fp.sh more robust 2024-06-24 14:42:59 -07:00
test_arm_coresight_disasm.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_arm_coresight.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_arm_spe_fork.sh perf test: Speed up some tests using perf list 2024-10-17 09:55:58 -07:00
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 perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
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 perf test java symbol: Remove needless debuginfod queries 2023-05-10 12:54:53 -03:00
test_perf_data_converter_json.sh perf test: Use common python setup library 2023-12-05 15:48:52 -03:00
test_stat_intel_tpebs.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
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 perf test: Skip uprobe test if probe command isn't present 2024-09-03 11:23:01 -03:00
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 perf test shell trace_exit_race: Use --no-comm to avoid cases where COMM isn't resolved 2024-11-16 16:30:32 -03:00
trace+probe_vfs_getname.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00