]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter tools: Handle kernels with !CONFIG_PERF_COUNTER
authorIngo Molnar <mingo@elte.hu>
Sun, 7 Jun 2009 15:46:24 +0000 (17:46 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 7 Jun 2009 15:46:24 +0000 (17:46 +0200)
commit190d4ddd803f7d076029c4937b3f9cde01f45fd7
tree050253f0a69d5fab3cee07c07061e1468ac3c4f1
parent2547dbd69cc6c38b9192dbd8f22532aec1b879d1
perf_counter tools: Handle kernels with !CONFIG_PERF_COUNTER

If perf is run on a !CONFIG_PERF_COUNTER kernel right now it
bails out with no messages or with confusing messages.

Standardize this case some more and explain the situation.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/builtin-top.c