projects/aports·blob master · refs

15 lines · 589 B

1seeing tips with perf report requires docs, so notify which package has them
2--
3diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
4index 2ee2ecc..0e08d6c 100644
5--- a/tools/perf/builtin-report.c
6+++ b/tools/perf/builtin-report.c
7@@ -651,7 +651,7 @@ static int report__browse_hists(struct report *rep)
8 free(path);
9 path = system_path(DOCDIR);
10 if (perf_tip(&help, path) || help == NULL)
11- help = strdup("Cannot load tips.txt file, please install perf!");
12+ help = strdup("Cannot load tips.txt file, install linux-tools-doc to see tips!");
13 }
14 free(path);
15