aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLorenz Bauer <[email protected]>2020-06-29 10:56:30 +0100
committerAlexei Starovoitov <[email protected]>2020-06-30 10:46:39 -0700
commit1a1ad3c20a6fe0e8a4b570fbf835d7cc6e87a9d8 (patch)
tree51347f94f585ce81fddfbee355802ce1edd2923f /tools/perf/scripts/python/check-perf-trace.py
parent0434296c72486881c2a71cd33876e4e6342001b5 (diff)
selftests: bpf: Pass program to bpf_prog_detach in flow_dissector
Calling bpf_prog_detach is incorrect, since it takes target_fd as its argument. The intention here is to pass it as attach_bpf_fd, so use bpf_prog_detach2 and pass zero for target_fd. Fixes: 06716e04a043 ("selftests/bpf: Extend test_flow_dissector to cover link creation") Signed-off-by: Lorenz Bauer <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions