summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2018-04-06 13:38:12 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-04-18 15:35:50 -0300
commitccbb6afe0890b09cc828373a9a5fffab40ec85df (patch)
treea7d61ed4ca1c35a37c873e3e1bcb19bbe4ecb12a /tools
parentec3948451e0ba317e66873b48d6cc51d701d4eb0 (diff)
downloadop-kernel-dev-ccbb6afe0890b09cc828373a9a5fffab40ec85df.zip
op-kernel-dev-ccbb6afe0890b09cc828373a9a5fffab40ec85df.tar.gz
perf record: Remove suggestion to enable APIC
'perf record' suggests to enable the APIC on errors. APIC is practically always used today and the problem is usually somewhere else. Just remove the outdated suggestion. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/20180406203812.3087-5-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/evsel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index 66b6257..3e87486c 100644
--- a/tools/perf/util/evsel.c
+++ b/tools/perf/util/evsel.c
@@ -2870,8 +2870,7 @@ int perf_evsel__open_strerror(struct perf_evsel *evsel, struct target *target,
#if defined(__i386__) || defined(__x86_64__)
if (evsel->attr.type == PERF_TYPE_HARDWARE)
return scnprintf(msg, size, "%s",
- "No hardware sampling interrupt available.\n"
- "No APIC? If so then you can boot the kernel with the \"lapic\" boot parameter to force-enable it.");
+ "No hardware sampling interrupt available.\n");
#endif
break;
case EBUSY:
OpenPOWER on IntegriCloud