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

libbpf javagc fails when no PID is provided #4980

Open
jeromemarchand opened this issue Apr 30, 2024 · 0 comments
Open

libbpf javagc fails when no PID is provided #4980

jeromemarchand opened this issue Apr 30, 2024 · 0 comments

Comments

@jeromemarchand
Copy link
Contributor

The libbpf javagc tool fails with no useful error message when no PID is provided even though the "-p" option is described as optional.
A quick look at the code let me think that the tool is only meant to trace one PID only and thus the option should have been made mandatory, and the tool should have failed at the parsing stage, with a proper error message.
As a side note, the tool help message is lacking compared to the equivalent bcc tool.

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