perf evsel: Do missing feature fallbacks in just one place
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Dec 2012 16:13:07 +0000 (13:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:08 +0000 (16:40 -0300)
commit594ac61ad3be9c80c738a9fe3bb95c05d8d1bae1
tree3fb2c1395bafd1799e34443d58adef6c4b65c7fe
parentce90e3856ba55af4d3d9c9c1168cc624607f6c7c
perf evsel: Do missing feature fallbacks in just one place

Instead of doing it in stat, top, record or any other tool that opens
event descriptors.

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-vr8hzph83d5t2mdlkf565h84@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/perf.h
tools/perf/util/evsel.c
tools/perf/util/top.h