HEX
Server: Apache/2.2.22 (Debian)
System: Linux martin 3.2.0-6-amd64 #1 SMP Debian 3.2.102-1 x86_64
User: otzyv-tut.ru (515)
PHP: 7.1.20
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //usr/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:
# - For 2.6.x, use 3 components
# - For 3.0 or 3.0.x, use 3.0.0
# - Otherwise, use 2 components
version="$(uname -r)"
version="${version%%-*}"
case "$version" in
    2.6.*.*)
	version="${version%.*}"
	;;
    2.6.*)
	;;
    3.0 | 3.0.*)
	version=3.0.0
	;;
    *.*.*)
	version="${version%.*}"
	;;
esac
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