]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: remove unneeded gettimeofday() call
authorRuss Anderson <rja@sgi.com>
Tue, 18 May 2010 22:52:40 +0000 (17:52 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 May 2010 00:53:58 +0000 (21:53 -0300)
commita6af31f0d0019b8f5898d888c6ceaf4273a026f3
tree75566178dedd11a685d4240523849ad6787fb549
parent04de39fa8dcbe0bcb30a929784f86c2a69603b53
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: Russ Anderson <rja@sgi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c