summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-01-28 09:06:29 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:58:07 +0100
commitdcb4937a7d2c71ae15496973e79f86cc4bf3b083 (patch)
tree990dc228b82b949a166cd5f75988567868b91c8b /scripts
parent161348aea66fde8356030df21f998d64f585bd51 (diff)
downloadlinux-dcb4937a7d2c71ae15496973e79f86cc4bf3b083.tar.gz
linux-dcb4937a7d2c71ae15496973e79f86cc4bf3b083.tar.bz2
linux-dcb4937a7d2c71ae15496973e79f86cc4bf3b083.zip
perf test: Skip syscall enum test if no landlock syscall
[ Upstream commit 72d81e10628be6a948463259cbb6d3b670b20054 ] 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 <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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions