Skip to content

Instantly share code, notes, and snippets.

@kerneltoast
Created December 12, 2020 04:03
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 kerneltoast/9cdde925ba956fc1df5ac0a3d74b298a to your computer and use it in GitHub Desktop.
Save kerneltoast/9cdde925ba956fc1df5ac0a3d74b298a to your computer and use it in GitHub Desktop.
[sultan@centos7-bb /home/sultan/systemtap]$ groups
sultan wheel stapusr stapdev stapsys
[sultan@centos7-bb /home/sultan/systemtap]$ ./stap -e 'probe begin{print("hello world\n") exit()}'
ERROR: Cannot attach to module stap_40d8952830c32146abd96012dfe9b78_26239 control channel; not running?
ERROR: Cannot attach to module stap_40d8952830c32146abd96012dfe9b78_26239 control channel; not running?
ERROR: 'stap_40d8952830c32146abd96012dfe9b78_26239' is not a zombie systemtap module.
WARNING: /home/sultan/stap-vanilla/bin/staprun exited with status: 1
Pass 5: run failed. [man error::pass5]
[sultan@centos7-bb /home/sultan/systemtap]$ sudo ./stap -e 'probe begin{print("hello world\n") exit()}'
hello world
[sultan@centos7-bb /home/sultan/systemtap]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment