[PATCH 05/11] perf script: Show proper message when failed list scripts

2016-08-15 Thread Arnaldo Carvalho de Melo
From: He Kuang Perf shows the usage message when perf scripts folder failed to open, which misleads users to let them think the command is being mistyped. This patch shows a proper message and guides users to check the PERF_EXEC_PATH environment variable in that case.

[PATCH 05/11] perf script: Show proper message when failed list scripts

2016-08-15 Thread Arnaldo Carvalho de Melo
From: He Kuang Perf shows the usage message when perf scripts folder failed to open, which misleads users to let them think the command is being mistyped. This patch shows a proper message and guides users to check the PERF_EXEC_PATH environment variable in that case. Before: $ perf script