Public bug reported:

5.8 HWE kernel dies with the following exception:

cannot attach kprobe, probe entry may not exist
Traceback (most recent call last):
  File "/usr/sbin/biosnoop-bpfcc", line 162, in <module>
    b.attach_kprobe(event="blk_account_io_completion",
  File "/usr/lib/python3/dist-packages/bcc/__init__.py", line 658, in 
attach_kprobe
    raise Exception("Failed to attach BPF program %s to kprobe %s" %
Exception: Failed to attach BPF program b'trace_req_completion' to kprobe 
b'blk_account_io_completion'

5.8 HWE kernel does not have a kprobe.blk_account_io_completion but does
have a kprobe.blk_account_io_done.   Modifying allows this script to
run.  Perhaps you could generate some tests to confirm that the relevant
kprobes are available?

** Affects: bpfcc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910581

Title:
  Exception: Failed to attach BPF program b'trace_req_completion' to
  kprobe b'blk_account_io_completion'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpfcc/+bug/1910581/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to