Re: [PATCH v2] perf test: Skip syscall enum test if no landlock syscall
From: Namhyung Kim
Date: Tue Jan 28 2025 - 14:15:35 EST
On Tue, 28 Jan 2025 09:06:29 -0800, Namhyung Kim wrote:
> 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.
>
> [...]
Applied to perf-tools, thanks!
Best regards,
Namhyung