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

Confused about libbpf-tools:since we have the .py tools, why do we still need libbpf-tools? #5167

Open
violence-max opened this issue Dec 12, 2024 · 0 comments

Comments

@violence-max
Copy link

Using tools/cpudist.py as an example, there are other files with similar names, such as cpudist.bpf.c, cpudist.c, and cpudist.h. Moreover, nearly all tools have corresponding files with .c, .bpf.c, and .h extensions. At one point, I thought cpudist.bpf.c was directly embedded and executed within cpudist.py. This is quite unfriendly for beginners, as I couldn’t figure out the purpose or significance of the cpudist C source code files.

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