diff options
author | Ken Chen <kenchen@google.com> | 2010-11-11 17:05:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-12 10:55:31 -0500 |
commit | 38715258aa2e8cd94bd4aafadc544e5104efd551 (patch) | |
tree | 1af8d367a68ddcc8868500aa70da21e1eb7ddf5a /kernel/workqueue_sched.h | |
parent | 8d056cb965b8fb7c53c564abf28b1962d1061cd3 (diff) |
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 <kenchen@google.com>
Reviewed-by: Arjan van de Ven <arjan@infradead.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/workqueue_sched.h')
0 files changed, 0 insertions, 0 deletions