You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: