15 lines
320 B
Bash
Executable File
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
|