xtensa-linux-gnu-gprof: 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 CentOS possible default full paths are:

/usr/bin/xtensa-linux-gnu-gprof - from package: binutils-xtensa-linux-gnu

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