From: Ken Chen Date: Thu, 11 Nov 2010 22:05:16 +0000 (-0800) Subject: latencytop: fix per task accumulator X-Git-Tag: v2.6.37-rc2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38715258aa2e8cd94bd4aafadc544e5104efd551;p=pandora-kernel.git latencytop: fix per task accumulator Per task latencytop accumulator prematurely terminates due to erroneous placement of latency_record_count. It should be incremented whenever a new record is allocated instead of increment on every latencytop event. Also fix search iterator to only search known record events instead of blindly searching all pre-allocated space. Signed-off-by: Ken Chen Reviewed-by: Arjan van de Ven Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed