Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCC tool execute failed on Android by debianfs #4934

Open
yklin-vv opened this issue Mar 12, 2024 · 0 comments
Open

BCC tool execute failed on Android by debianfs #4934

yklin-vv opened this issue Mar 12, 2024 · 0 comments

Comments

@yklin-vv
Copy link

While running execsnoop or hello_word example on Android by defbianfs, an error occured.

I can't find /tmp//kheaders-6.1.25-android14-11-maybe-dirty.
Where can I find it?

root@localhost:/# bcc/bcc/examples/hello_world.py
chdir(/tmp//kheaders-6.1.25-android14-11-maybe-dirty): No such file or directory
Traceback (most recent call last):
File "//bcc/bcc/examples/hello_world.py", line 12, in
BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, World!\n"); return 0; }').trace_print()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bcc-0.29.1+008ea09e-py3.11.egg/bcc/init.py", line 479, in init
Exception: Failed to compile BPF module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant