Files
linux/tools/perf/tests
Namhyung Kim dcb4937a7d perf test: Skip syscall enum test if no landlock syscall
[ Upstream commit 72d81e1062 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-08 09:58:07 +01:00
..
2024-06-26 11:07:11 -07:00
2024-08-12 18:05:14 -03:00
2023-05-27 09:41:39 -03:00
2024-09-03 10:15:16 -03:00
2024-09-11 11:27:42 -03:00
2023-03-13 17:42:27 -03:00
2024-09-11 11:27:42 -03:00
2024-08-12 18:05:14 -03:00
2024-07-31 16:12:46 -03:00
2024-08-12 18:05:14 -03:00
2024-08-19 14:49:53 -03:00