Blame SOURCES/perf

ab7326
#!/bin/sh
ab7326
ab7326
# In pathological situations, this will print some error about uname.
ab7326
kverrel="`uname -r`" || exit
ab7326
ab7326
exec "/usr/libexec/perf.$kverrel" ${1+"$@"}
ab7326
rc=$?
ab7326
ab7326
# We're still here, so the exec failed.
ab7326
echo >&2 "Sorry, your kernel ($kverrel) doesn't support perf."
ab7326
ab7326
exit $rc