2022-01-17 16:48:17 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
|
|
|
# Install needed packages
|
2022-01-21 09:40:28 +00:00
|
|
|
dnf -y install /usr/bin/stap-prep
|
2022-01-17 16:48:17 +00:00
|
|
|
stap-prep
|
|
|
|
|
|
|
|
# Report installed packages
|
|
|
|
stap-report
|
|
|
|
|
|
|
|
# Set up SELinux so that it allows for userspace probing
|
|
|
|
setsebool allow_execmod on
|
|
|
|
setsebool allow_execstack on
|
|
|
|
setsebool deny_ptrace off
|
|
|
|
|
|
|
|
set +xe
|