HEX
Server: Apache/2.4
System: Linux php-v013.wc2.phx1.stabletransit.com 5.10.0-41-amd64 #1 SMP Debian 5.10.251-3 (2026-04-30) x86_64
User: oasisfloral (2219914)
PHP: 7.4.33
Disabled: leak,posix_getpwuid,posix_getpwnam,posix_getgrid,posix_getgrnam,posix_getgroups
Upload Files
File: //bin/perf
#!/bin/bash

# Execute the right version of perf for the current kernel.
# Remove flavour or custom suffix and fix number of version components to 2.
version="$(uname -r)"
version="${version%%-*}"
case "$version" in
    *.*.*)
	version="${version%.*}"
	;;
esac
shopt -s execfail
exec "perf_$version" "$@"

# Not found? Tell the user which package to install.
case "$version" in
    3.* | 4.0 | 4.0.*)
	package=linux-tools-$version
	;;
    *)
	package=linux-perf-$version
	;;
esac
echo >&2 "E: $package is not installed."
exit 1