Commit bd8f0865 authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1727 from bobrik/runqlen-no-dup

Remove duplicate ebpf program load in tools/runqlen.py
parents 319487f2 0595f1bd
......@@ -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