summaryrefslogtreecommitdiff
path: root/kernel/hung_task.c
diff options
context:
space:
mode:
authorKen Chen <kenchen@google.com>2010-11-11 14:05:16 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-09 13:32:53 -0800
commita7a001eb003abe7156c245609af7825bf65f2698 (patch)
treeaa04ab7fbf97c7c709da03646da5c1ef2a971cbf /kernel/hung_task.c
parent8301e7e3480ecabce25e116f1e6072b88f6167b4 (diff)
latencytop: fix per task accumulator
commit 38715258aa2e8cd94bd4aafadc544e5104efd551 upstream. 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 <kenchen@google.com> Reviewed-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/hung_task.c')
0 files changed, 0 insertions, 0 deletions