From: Lin Ming Date: Fri, 7 Jan 2011 03:11:09 +0000 (+0800) Subject: perf tools: Pass whole attr to event selectors X-Git-Tag: v2.6.38-rc1~417^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a2f3ab46596d9fd0b0e592d2101bea90970594;p=pandora-kernel.git 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 Cc: Ingo Molnar Cc: Peter Zijlstra LKML-Reference: <1294369869.20563.19.camel@minggr.sh.intel.com> Signed-off-by: Lin Ming Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed