-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Android bpf_probe_read_kernel Failed #3094
Comments
It seems to be you are encountering page fault. It returns -14 because of page fault while reading the content. Bpf_probe_read() helper disables page_fault during reading. Try to use kretprobe, since in kprobe get the necessary info and in kretprobe, you do actual reading. |
I solved it, by reference those links: We should copy |
Env:
Android10, arm64, kernel4.9.210, bcc 0.16.0
cmd:
python3 trace 'compat_sys_execve "%s", arg1' -v`
output:
arg1 is empty string, and I found bpf_probe_read_kernel return -14
How to solved it? Thank you!
The text was updated successfully, but these errors were encountered: