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

[Feature] Help new user to identify root privilege are mandatory #16

Closed
egobillot opened this issue Feb 23, 2020 · 0 comments
Closed

[Feature] Help new user to identify root privilege are mandatory #16

egobillot opened this issue Feb 23, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@egobillot
Copy link
Owner

The exception below is often related to non-root privilege

Traceback (most recent call last):
File "./calltop.py", line 910, in
main(display)
File "./calltop.py", line 892, in main
b = create_and_load_bpf(syscall_list, latency)
File "./calltop.py", line 762, in create_and_load_bpf
b = BPF(text=prog)
File "/usr/lib/python2.7/dist-packages/bcc/init.py", line 321, in init
raise Exception("Failed to compile BPF text")
Exception: Failed to compile BPF text

Describe the solution you'd like
A more explicit message would be helpful :

It fails compiling and load the eBPF. Do you have root access ?

@egobillot egobillot added the enhancement New feature or request label Feb 23, 2020
@egobillot egobillot self-assigned this Feb 23, 2020
@egobillot egobillot changed the title [Feature] Help new user to identify it needs root privilege [Feature] Help new user to identify root privilege are mandatory Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant