Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > ac6777676411c9d28c89b9ff949c953d > files > 150

kernel-2.6.34.9-69.fc13.src.rpm

#!/bin/sh

# In pathological situations, this will print some error about uname.
kverrel="`uname -r`" || exit

exec "/usr/libexec/perf.$kverrel" ${1+"$@"}
rc=$?

# We're still here, so the exec failed.
echo >&2 "Sorry, your kernel ($kverrel) doesn't support perf."

exit $rc