Skip to content

Commit

Permalink
Remove duplicate ebpf program load in tools/runqlen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed May 3, 2018
1 parent 319487f commit 0595f1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/runqlen.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ def check_runnable_weight_field():
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,
Expand Down

0 comments on commit 0595f1b

Please sign in to comment.