Lin Ming 23a2f3ab46 perf tools: Pass whole attr to event selectors
Since commit 69aad6f1(perf tools: Introduce event selectors), only
perf_event_attr::type and ::config are passed to event selector, which
makes perf tool not work correctly.

For example, PEBS does not work because perf_event_attr::precise_ip is
not passed to the syscall.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1294369869.20563.19.camel@minggr.sh.intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2011-01-07 01:44:36 -02:00
..
2010-12-04 23:05:19 -02:00
2010-08-21 11:22:47 -03:00
2010-08-22 21:10:35 +02:00
2010-11-30 20:58:42 -02:00
2009-12-28 10:36:36 +01:00
2011-01-03 16:39:04 -02:00
2011-01-05 14:22:10 +01:00
2010-12-04 23:05:19 -02:00
2010-10-21 16:11:44 -02:00
2009-06-27 06:06:39 +02:00
2010-08-21 11:22:47 -03:00
2010-05-14 20:05:21 -03:00
2010-01-13 10:09:15 +01:00