Copy perf wrapper script missed in earlier merge

svn path=/dists/trunk/linux-2.6/; revision=15960
This commit is contained in:
Ben Hutchings 2010-07-07 02:17:18 +00:00
commit 7829baacaa
1 changed files with 11 additions and 0 deletions

11
debian/bin/perf vendored Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# Execute the right version of perf for the current kernel.
version="$(uname -r)"
version="${version%%-*}"
shopt -s execfail
exec "perf_$version" "$@"
# Not found? Tell the user which package to install.
echo >&2 "E: linux-tools-$version is not installed."
exit 1