summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-11 15:30:23 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-07-11 16:14:22 -0400
commit319a20191bba638d96ed652b59e1cb0215584b70 (patch)
treeebb7209a434862e31a6a5866931e46ac4857f319
parenta78ac2ba7c0e803e4d727befea515338697f82bd (diff)
Delete our perf wrapper
Debian is doing the sane thing now Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rwxr-xr-xlib/perf3
-rwxr-xr-xroot_image5
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/perf b/lib/perf
deleted file mode 100755
index 10c56b8..0000000
--- a/lib/perf
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-exec $(ls /usr/bin/perf_*|sort -Vr|head -n1) "$@"
diff --git a/root_image b/root_image
index fcc152d..f0c322a 100755
--- a/root_image
+++ b/root_image
@@ -204,11 +204,6 @@ ZZ
rm -f "$MNT/lib/udev/rules.d/*hdparm*"
echo $(hostname)-kvm >"$MNT/etc/hostname"
-
- # Use most recent version of perf installed, instead of failing if it
- # doesn't match the kernel version:
- mkdir -p "$MNT/usr/local/bin"
- install -m0755 "$ktest_dir/lib/perf" "$MNT/usr/local/bin/perf"
}
update_packages()