Comment 29 for bug 1862708

Revision history for this message
Seth Arnold (seth-arnold) wrote :

Just to be clear, not *all* tracing tools work, but this is much better:

sarnold@millbarge:/tmp$ uname -a
Linux millbarge 5.4.0-21-generic #25-Ubuntu SMP Sat Mar 28 13:10:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
sarnold@millbarge:/tmp$ sudo zfsslower-bpfcc
Traceback (most recent call last):
  File "/usr/sbin/zfsslower-bpfcc", line 265, in <module>
    if BPF.get_kprobe_functions(b'zpl_iter'):
  File "/usr/lib/python3/dist-packages/bcc/__init__.py", line 539, in get_kprobe_functions
    with open("%s/../kprobes/blacklist" % TRACEFS, "rb") as blacklist_f:
PermissionError: [Errno 1] Operation not permitted: '/sys/kernel/debug/tracing/../kprobes/blacklist'

Thanks