]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Remove expensive old debug code from perf top
authorMike Galbraith <efault@gmx.de>
Tue, 13 Oct 2009 12:57:20 +0000 (14:57 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Oct 2009 13:30:15 +0000 (15:30 +0200)
commit071d6ca917b8b82ce330c29c795e275edf1e2520
tree20c60c9bf367e53d3ddbd5fddd41de9d64fb4ded
parent3856aaf12cd74cf2b9463df30808344487f8cbe3
perf tools: Remove expensive old debug code from perf top

Calling gettimeofday() at high frequency is painful for handicapped
boxen. The spot calling gettimeofday() is old unneeded debug code,
so remove it.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1255438640.7173.1.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-top.c