diff options
author | Enze Li <lienze@kylinos.cn> | 2025-07-18 14:42:17 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-26 15:08:21 -0700 |
commit | 511914506d194be931de012a5f2ab55841b9b708 (patch) | |
tree | d22166a636bff600ce7c5b367cbca078c89730fa /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | da5973a0b8e0370f9e309c60e35a4d4d4dfe32fc (diff) |
selftests/damon: introduce _common.sh to host shared function
The current test scripts contain duplicated root permission checks in
multiple locations. This patch consolidates these checks into _common.sh
to eliminate code redundancy.
Link: https://lkml.kernel.org/r/20250718064217.299300-1-lienze@kylinos.cn
Signed-off-by: Enze Li <lienze@kylinos.cn>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions