c6x-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/c6x-linux-gnu-gprof - from package: binutils-c6x-linux-gnu

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