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

Support piping scripts through stdin #1310

Merged
merged 3 commits into from
Apr 28, 2020
Merged

Conversation

danobi
Copy link
Member

@danobi danobi commented Apr 28, 2020

For example, you can now do:

echo 'BEGIN { printf("hello world!\\n") }' | sudo bpftrace -

In other words, you can pipe input to bpftrace now. It's always good to
let people script tools better.

Checklist
  • Language changes are updated in docs/reference_guide.md
  • User-visible and non-trivial changes updated in CHANGELOG.md

For example, you can now do:

    echo 'BEGIN { printf("hello world!\\n") }' | sudo bpftrace -

In other words, you can pipe input to bpftrace now. It's always good to
let people script tools better.
@danobi danobi merged commit 3e0f795 into bpftrace:master Apr 28, 2020
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

Successfully merging this pull request may close these issues.

2 participants