Skip to content

Instantly share code, notes, and snippets.

@krsna1729
Created June 27, 2019 04:30
Show Gist options
  • Save krsna1729/7437d88d20c027527ba5b51fa80cfdcc to your computer and use it in GitHub Desktop.
Save krsna1729/7437d88d20c027527ba5b51fa80cfdcc to your computer and use it in GitHub Desktop.
Trying out bcc and bpftrace on clearlinux
sudo swupd bundle-add bcc linux-lts-dev
sudo /usr/share/bcc/tools/tcpdrop

Currently stuck here

Traceback (most recent call last):
  File "/usr/share/bcc/tools/tcpdrop", line 208, in <module>
    if b.get_kprobe_functions(b"tcp_drop"):
  File "/usr/lib/python3.7/site-packages/bcc/__init__.py", line 514, in get_kprobe_functions
    with open("%s/../kprobes/blacklist" % TRACEFS, "rb") as blacklist_f:
FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/tracing/../kprobes/blacklist'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment