perf-stat-hist: 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
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

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 Debian possible default full paths are:

/usr/bin/perf-stat-hist - from package: perf-tools-unstable

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