aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorArtem Savkov <[email protected]>2023-09-12 14:06:31 +0200
committerAlexei Starovoitov <[email protected]>2023-09-12 13:17:56 -0700
commitd128860dbb29cafc3c65ca2d22082745a32829dd (patch)
treee4753413bc8ab73c678c5c5094287c5c86119e58 /tools/perf/scripts/python/flamegraph.py
parenta8f12572860ad8ba659d96eee9cf09e181f6ebcc (diff)
selftests/bpf: fix unpriv_disabled check in test_verifier
Commit 1d56ade032a49 changed the function get_unpriv_disabled() to return its results as a bool instead of updating a global variable, but test_verifier was not updated to keep in line with these changes. Thus unpriv_disabled is always false in test_verifier and unprivileged tests are not properly skipped on systems with unprivileged bpf disabled. Fixes: 1d56ade032a49 ("selftests/bpf: Unprivileged tests for test_loader.c") Signed-off-by: Artem Savkov <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions