iovisor / iovisor/bcc

cannot attach uprobe, probe entry may not exist error for ustat running inside container.

Open
#3,754 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

cannot attach uprobe, probe entry may not exist
Traceback (most recent call last):
File "/usr/share/bcc/tools/lib/ustat", line 307, in
Tool().run()
File "/usr/share/bcc/tools/lib/ustat", line 299, in run
self._loop_iter()
File "/usr/share/bcc/tools/lib/ustat", line 248, in _loop_iter
self._attach_probes()
File "/usr/share/bcc/tools/lib/ustat", line 239, in _attach_probes
self.bpf.attach_uprobe(name=path, fn_name=func, addr=addr, pid=-1)
File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 1019, in attach_uprobe
raise Exception("Failed to attach BPF to uprobe")
Exception: Failed to attach BPF to uprobe

no issues running ustat on vm. anything missing for container to work ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.