]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit590a5578fdf3a2113d5fb0dfcd020cbd9603166b
tree63e103e0acc4cb86486c50d81842a0c42194e0fb
parent004eec2d985d856af3d4e1a11a471592abfb8ead
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