systemtap/tests/dejagnu-smoketest/runtest.sh

15 lines
320 B
Bash
Raw Normal View History

#!/bin/sh
2018-09-14 18:21:05 +00:00
set -e
2018-09-15 01:15:38 +00:00
set -x
2018-09-15 01:15:38 +00:00
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)}'
2018-09-16 10:26:23 +00:00
echo PASS