diff options
-rw-r--r-- | tools/perf/builtin-record.c | 2 | ||||
-rw-r--r-- | tools/perf/builtin-top.c | 2 | ||||
-rw-r--r-- | tools/perf/builtin-trace.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 359bb8f33e57..afe558449677 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -2372,7 +2372,7 @@ int cmd_record(int argc, const char **argv) | |||
2372 | if (symbol_conf.kptr_restrict && !perf_evlist__exclude_kernel(rec->evlist)) | 2372 | if (symbol_conf.kptr_restrict && !perf_evlist__exclude_kernel(rec->evlist)) |
2373 | pr_warning( | 2373 | pr_warning( |
2374 | "WARNING: Kernel address maps (/proc/{kallsyms,modules}) are restricted,\n" | 2374 | "WARNING: Kernel address maps (/proc/{kallsyms,modules}) are restricted,\n" |
2375 | "check /proc/sys/kernel/kptr_restrict.\n\n" | 2375 | "check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.\n\n" |
2376 | "Samples in kernel functions may not be resolved if a suitable vmlinux\n" | 2376 | "Samples in kernel functions may not be resolved if a suitable vmlinux\n" |
2377 | "file is not found in the buildid cache or in the vmlinux path.\n\n" | 2377 | "file is not found in the buildid cache or in the vmlinux path.\n\n" |
2378 | "Samples in kernel modules won't be resolved at all.\n\n" | 2378 | "Samples in kernel modules won't be resolved at all.\n\n" |
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 5970723cd55a..29e910fb2d9a 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -770,7 +770,7 @@ static void perf_event__process_sample(struct perf_tool *tool, | |||
770 | if (!perf_evlist__exclude_kernel(top->session->evlist)) { | 770 | if (!perf_evlist__exclude_kernel(top->session->evlist)) { |
771 | ui__warning( | 771 | ui__warning( |
772 | "Kernel address maps (/proc/{kallsyms,modules}) are restricted.\n\n" | 772 | "Kernel address maps (/proc/{kallsyms,modules}) are restricted.\n\n" |
773 | "Check /proc/sys/kernel/kptr_restrict.\n\n" | 773 | "Check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.\n\n" |
774 | "Kernel%s samples will not be resolved.\n", | 774 | "Kernel%s samples will not be resolved.\n", |
775 | al.map && map__has_symbols(al.map) ? | 775 | al.map && map__has_symbols(al.map) ? |
776 | " modules" : ""); | 776 | " modules" : ""); |
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 8ea62fd2591d..58a75dd3a571 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -1382,7 +1382,7 @@ static char *trace__machine__resolve_kernel_addr(void *vmachine, unsigned long l | |||
1382 | 1382 | ||
1383 | if (symbol_conf.kptr_restrict) { | 1383 | if (symbol_conf.kptr_restrict) { |
1384 | pr_warning("Kernel address maps (/proc/{kallsyms,modules}) are restricted.\n\n" | 1384 | pr_warning("Kernel address maps (/proc/{kallsyms,modules}) are restricted.\n\n" |
1385 | "Check /proc/sys/kernel/kptr_restrict.\n\n" | 1385 | "Check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.\n\n" |
1386 | "Kernel samples will not be resolved.\n"); | 1386 | "Kernel samples will not be resolved.\n"); |
1387 | machine->kptr_restrict_warned = true; | 1387 | machine->kptr_restrict_warned = true; |
1388 | return NULL; | 1388 | return NULL; |