summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSimon Sundberg <simon.sundberg@kau.se>2024-10-10 16:27:08 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-10-10 20:44:03 +0300
commit4192bb294f80928bc2257c7a2ff6c86a27de6807 (patch)
tree6725feb4516721b55cdc112a7c4287731154bee3 /tools/perf/scripts/python/exported-sql-viewer.py
parent6cb86a0fdece87e126323ec1bb19deb16a52aedf (diff)
downloadlinux-4192bb294f80928bc2257c7a2ff6c86a27de6807.tar.xz
selftests/bpf: Provide a generic [un]load_module helper
Generalize the previous [un]load_bpf_testmod() helpers (in testing_helpers.c) to the more generic [un]load_module(), which can load an arbitrary kernel module by name. This allows future selftests to more easily load custom kernel modules other than bpf_testmod.ko. Refactor [un]load_bpf_testmod() to wrap this new helper. Signed-off-by: Simon Sundberg <simon.sundberg@kau.se> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/r/20241010-fix-kfunc-btf-caching-for-modules-v2-2-745af6c1af98@redhat.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions