[kernel] r15960 - dists/trunk/linux-2.6/debian/bin

Ben Hutchings benh at alioth.debian.org
Wed Jul 7 02:17:20 UTC 2010


Author: benh
Date: Wed Jul  7 02:17:18 2010
New Revision: 15960

Log:
Copy perf wrapper script missed in earlier merge

Added:
   dists/trunk/linux-2.6/debian/bin/perf
      - copied unchanged from r15952, dists/sid/linux-2.6/debian/bin/perf

Copied: dists/trunk/linux-2.6/debian/bin/perf (from r15952, dists/sid/linux-2.6/debian/bin/perf)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/linux-2.6/debian/bin/perf	Wed Jul  7 02:17:18 2010	(r15960, copy of r15952, dists/sid/linux-2.6/debian/bin/perf)
@@ -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



More information about the Kernel-svn-changes mailing list