summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSun Jian <sun.jian.kdev@gmail.com>2026-03-09 18:44:48 +0800
committerAlexei Starovoitov <ast@kernel.org>2026-03-11 09:36:37 -0700
commitc02e0ab8aeeca716948d06a88993c470e4fbe426 (patch)
tree4764274b74ffd2b330478821beae03f92d2babad /tools/perf/scripts/python/export-to-postgresql.py
parentaa181c7d642cf10c31d53f73754795b6e5d88785 (diff)
selftests/bpf: Skip livepatch test when prerequisites are missing
livepatch_trampoline relies on livepatch sysfs and livepatch-sample.ko. When CONFIG_LIVEPATCH is disabled or the samples module isn't built, the test fails with ENOENT and causes false failures in minimal CI configs. Skip the test when livepatch sysfs or the sample module is unavailable. Also avoid writing to livepatch sysfs when it's not present. Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20260309104448.817401-1-sun.jian.kdev@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions