From: He Kuang Date: Thu, 4 Aug 2016 11:25:42 +0000 (+0000) Subject: perf script: Show proper message when failed list scripts X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=88ded4d8d94a550624e1827478e13fecf97a7b0a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git perf script: Show proper message when failed list scripts 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 --list Usage: perf script [] or: perf script [] record