Skip to content
Commit ef365cef authored by Russ Anderson's avatar Russ Anderson Committed by Arnaldo Carvalho de Melo
Browse files

perf record: remove unneeded gettimeofday() call



Perf record repeatedly calls gettimeofday() which adds noise to the performance
measurements.  Since gettimeofday() is only used for the error printf, delete
it.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <20100518225240.GC25589@sgi.com>
Signed-off-by: default avatarRuss Anderson <rja@sgi.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent dfacc4d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment