diff options
| author | Namhyung Kim <[email protected]> | 2025-01-28 17:06:29 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-01-28 17:29:39 +0000 |
| commit | 72d81e10628be6a948463259cbb6d3b670b20054 (patch) | |
| tree | 1a338ad672e561d2f2544a11a99db5cfb30fa2e9 /net/switchdev/switchdev.c | |
| parent | perf trace: Fix runtime error of index out of bounds (diff) | |
| download | kernel-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
