-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Merge -lv
output into stdout
#3383
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! makes sense to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also while you're at it, do you mind updating commit message with the justification inline? it makes it easier to git-blame down the line without opening up github
src/probe_matcher.cpp
Outdated
@@ -480,7 +480,7 @@ void ProbeMatcher::list_probes(ast::Program* prog) | |||
std::cout << probe_type << ":" << match_print << std::endl; | |||
if (bt_verbose) { | |||
for (auto& param : param_lists[match]) | |||
LOG(V1) << " " << param; | |||
std::cout << " " << param; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, missing a newline here. Nice tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I mean std::endl
for the output
Do you mean that I change the commit message to
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
+1 on the better commit message but we can always adjust it when squashing the PR.
To fix bpftrace#3379 Signed-off-by: Dantezy <[email protected]>
@viktormalik @danobi Hi, I have fixed the commit message. |
To fix #3379
Checklist
man/adoc/bpftrace.adoc
CHANGELOG.md