Skip to content

Instantly share code, notes, and snippets.

@agentzh

agentzh/a.txt Secret

Created December 15, 2020 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentzh/1b2cb8be32426d101addc7ef489e7bcf to your computer and use it in GitHub Desktop.
Save agentzh/1b2cb8be32426d101addc7ef489e7bcf to your computer and use it in GitHub Desktop.
[agentzh@glass ~/git/systemtap.new 0 (master)]$ time /opt/stap/bin/stap --poison-cache -e 'probe oneshot { println("hello") }'
hello
real 0m3.290s
user 0m11.874s
sys 0m1.646s
[agentzh@glass ~/git/systemtap.new 0 (master)]$ time /opt/stap/bin/stap --bpf --poison-cache -e 'probe oneshot { println("hello") }'
hello
real 0m0.164s
user 0m0.156s
sys 0m0.007s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment