]> git.baikalelectronics.ru Git - kernel.git/commit
perf evsel: Introduce event fallback method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Dec 2012 17:16:30 +0000 (14:16 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:08 +0000 (16:40 -0300)
commit838ef19de658fe669f8459541ea7de657c90845e
treed43d2fcb1c49ae17cbf8cf9aa270694b88cf39e1
parent45437f7717b29e4fb52af084b34148c3779c1346
perf evsel: Introduce event fallback method

The only fallback right now is for HW cpu-cycles -> SW cpu-clock, that
was done in the same way in both 'top' and 'record'.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-58l1mgibh9oa9m0pd3fasxa5@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/util/evsel.c
tools/perf/util/evsel.h