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