perf tools: Fix sample size bit operations
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 23 May 2011 11:06:27 +0000 (13:06 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 May 2011 11:26:36 +0000 (13:26 +0200)
commit3cb6d1540880e767d911b79eb49578de2190f428
tree63e103e0acc4cb86486c50d81842a0c42194e0fb
parent998bedc8c56c6869de457c845cbd328592e5e82e
perf tools: Fix sample size bit operations

What we want is to count the number of bits in the mask,
not some other random operation written in the middle
of the night.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1306148788-6179-2-git-send-email-fweisbec@gmail.com
[ Fixed perf_event__names[] alignment which was nearby and hurting my eyes ... ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/event.c