aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2025-01-28 17:06:29 +0000
committerNamhyung Kim <[email protected]>2025-01-28 17:29:39 +0000
commit72d81e10628be6a948463259cbb6d3b670b20054 (patch)
tree1a338ad672e561d2f2544a11a99db5cfb30fa2e9 /net/switchdev/switchdev.c
parentperf trace: Fix runtime error of index out of bounds (diff)
downloadkernel-72d81e10628be6a948463259cbb6d3b670b20054.tar.gz
kernel-72d81e10628be6a948463259cbb6d3b670b20054.zip
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: d66763fed30f0bd8c ("perf test trace_btf_enum: Add regression test for the BTF augmentation of enums in 'perf trace'") Reviewed-by: Howard Chu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions