Commit 0595f1bd authored by Ivan Babrou's avatar Ivan Babrou

Remove duplicate ebpf program load in tools/runqlen.py

parent 319487f2
......@@ -182,8 +182,6 @@ if debug or args.ebpf:
if args.ebpf:
exit()
# load BPF program
b = BPF(text=bpf_text)
# initialize BPF & perf_events
b = BPF(text=bpf_text)
b.attach_perf_event(ev_type=PerfType.SOFTWARE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment