]> git.baikalelectronics.ru Git - kernel.git/commit
perf top: Error handling for counter creation should parallel perf-record
authorDavid Ahern <dsahern@gmail.com>
Mon, 30 Jul 2012 02:53:03 +0000 (20:53 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Aug 2012 13:30:18 +0000 (10:30 -0300)
commit2e85c0e0166af7dd4c94b9c55dc4f6d244849e64
tree10b7ae8bb5af31a4be085d6e1c91e6f0d7875dc8
parent8cd9a9f991466ccc9bd1154894f24e3c706ba1a2
perf top: Error handling for counter creation should parallel perf-record

0e10921 fixed up perf-record but not perf-top. Similar argument holds
for it -- fallback to PMU only if it does not exist and handle invalid
attributes separately.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <robert.richter@amd.com>
Link: http://lkml.kernel.org/r/1343616783-6360-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c