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)
commitf4f0b418188cc7995375acbb54e87c80f21861bd
tree20c60c9bf367e53d3ddbd5fddd41de9d64fb4ded
parentcfed95a693e1ea5d08b9c9019bc30e448437ee2f
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