|
@@ -2894,8 +2894,7 @@ int perf_evsel__open_strerror(struct perf_evsel *evsel, struct target *target,
|
|
|
|
|
|
return scnprintf(msg, size,
|
|
|
"The sys_perf_event_open() syscall returned with %d (%s) for event (%s).\n"
|
|
|
- "/bin/dmesg may provide additional information.\n"
|
|
|
- "No CONFIG_PERF_EVENTS=y kernel support configured?",
|
|
|
+ "/bin/dmesg | grep -i perf may provide additional information.\n",
|
|
|
err, str_error_r(err, sbuf, sizeof(sbuf)),
|
|
|
perf_evsel__name(evsel));
|
|
|
}
|