rw-by-file-report: 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/libexec/perf-core/scripts/perl/bin/rw-by-file-report - 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/perl/bin/rw-by-file-report - from package: linux-tools-3.16

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