syscall-counts-by-pid-record: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/libexec/perf-core/scripts/python/bin/syscall-counts-by-pid-record - from package: perf

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/share/perf_3.16-core/scripts/python/bin/syscall-counts-by-pid-record - from package: linux-tools-3.16

You may install the required package with command apt-get install {package}
Error in other languages:
syscall-counts-by-pid-record: bevel nie gevind nie
syscall-counts-by-pid-record: comandă negăsită
syscall-counts-by-pid-record: comando não encontrado
syscall-counts-by-pid-record: commande introuvable
syscall-counts-by-pid-record: command not found
syscall-counts-by-pid-record: käsku ei ole
syscall-counts-by-pid-record: không tìm thấy lệnh
syscall-counts-by-pid-record: komanda nerasta
syscall-counts-by-pid-record: Kommando nicht gefunden.
syscall-counts-by-pid-record: kommandot finns inte
syscall-counts-by-pid-record: komut yok
syscall-counts-by-pid-record: nie znaleziono polecenia
syscall-counts-by-pid-record: níor aimsíodh an t-ordú
syscall-counts-by-pid-record: no se encontró la orden
syscall-counts-by-pid-record: no s'ha trobat l'ordre
syscall-counts-by-pid-record: opdracht niet gevonden
syscall-counts-by-pid-record: parancs nem található
syscall-counts-by-pid-record: perintah tidak ditemukan
syscall-counts-by-pid-record: príkaz nenájdený
syscall-counts-by-pid-record: příkaz nenalezen
syscall-counts-by-pid-record: команда не найдена
syscall-counts-by-pid-record: командата не е открита
syscall-counts-by-pid-record: 命令找不到
syscall-counts-by-pid-record: コマンドが見つかりません