#! /bin/sh set -e stap $@ -u -wp2 -e ' probe kernel.function("*") {} probe module("*").function("*") {} probe kernel.function("*").call {} probe module("*").function("*").call {} probe kernel.function("*").return {} probe module("*").function("*").return {} probe kernel.function("*").inline {} probe module("*").function("*").inline {} ' > /dev/null # Without the redirection, we'd log the humongous list of stuff 'stap # -p2' prints.