]> 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)
commit357f574f979f3671748487bb9285e19a3fd9a60b
tree63e103e0acc4cb86486c50d81842a0c42194e0fb
parent2e2dd8459230b737520bbdda5ea614f6232c5876
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