]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Remove misleading error suggestion
authorAndi Kleen <ak@linux.intel.com>
Fri, 6 Apr 2018 20:38:11 +0000 (13:38 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 18 Apr 2018 18:35:49 +0000 (15:35 -0300)
commit38b7fb4559e4bc2f6a422147bdad2ec1bc0c8fb5
tree4bca26acb5c42fcfbf8ab3347babb47a35785e10
parent4fd69d38f6eb261a51f86800399a3994b34c914f
perf record: Remove misleading error suggestion

When perf record encounters an error setting up an event it suggests
to enable CONFIG_PERF_EVENTS. This is misleading because:

- Usually it is enabled (it is really hard to disable on x86)

- The problem is usually somewhere else, e.g. the CPU is not supported
or an invalid configuration has been used.

Remove the misleading 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-4-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c