latencytop: optimize LT_BACKTRACEDEPTH loops a bit
authorDmitry Adamushko <dmitry.adamushko@gmail.com>
Sun, 17 Feb 2008 21:34:07 +0000 (22:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:57 +0000 (19:44 +0200)
commit19fb518c2a0c5d88ed22bba7083b7e7bc2a9c231
tree4233d31e9124110fe73aa83cb3ec4c390924d448
parent50df5d6aea6694ca481b8005900401e8c95c2603
latencytop: optimize LT_BACKTRACEDEPTH loops a bit

There is no need to loop any longer when 'same == 0'.

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/latencytop.c