The systemtap package
  • Roff 85.6%
  • Dockerfile 14.4%
Find a file
Tomas Tomecek 2491927f80 pin to :rawhide, remove release label
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2018-08-21 16:40:18 +02:00
root initial content 2017-09-12 16:25:10 +02:00
Dockerfile pin to :rawhide, remove release label 2018-08-21 16:40:18 +02:00
README.md readme: update pull command 2017-09-12 20:36:35 +02:00

container-image-template

SystemTap running in a container.

Usage

You can use atomic command to run systemtap container:

$ atomic run candidate-registry.fedoraproject.org/f26/systemtap:latest

Once you are in the shell, you can try some simple systemtap scripts:

  1. "hello world" with systemtap:
$ stap -e 'probe begin { println("hello world"); }'
hello world
^C
  1. script to print backtrace from a selected kernel function:
[root@3fe0ab87451e /]# stap -e 'probe kernel.function("generic_make_request") { prinbacktrace() }'
 0xffffffff9b3dd2f0 : generic_make_request+0x0/0x2d0 [kernel]
 0x0 (inexact)
 0xffffffff9b3dd2f0 : generic_make_request+0x0/0x2d0 [kernel]
 0x0 (inexact)

For complete guide to this container, please see the help page.