systemtap/tests/dejagnu-smoketest/runtest.sh
Frank Ch. Eigler 2bcf1a3045 CI try 6
2018-09-16 06:27:14 -04:00

15 lines
320 B
Bash
Executable File

#!/bin/sh
set -e
set -x
dnf debuginfo-install -y kernel
stap -L 'process("stap").mark("*")' | grep -q pass
stap -L 'kernel.trace("*")' | grep -q sys_
stap -v --example helloworld.stp
stap -v -T 1 -e 'probe kernel.function("do_exit") {println($$vars)}'
stap -v -T 1 -e 'probe syscall.* ? {println(argstr)}'
echo PASS