systemtap/plans/prepare.sh

18 lines
282 B
Bash
Raw Normal View History

#!/bin/bash
set -xe
# Install needed packages
2024-05-17 07:58:51 +00:00
dnf -y install /usr/bin/stap-prep
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