]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Default to 1 KHz auto-sampling freq events
authorIngo Molnar <mingo@elte.hu>
Tue, 6 Oct 2009 13:14:21 +0000 (15:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Oct 2009 13:41:09 +0000 (15:41 +0200)
commit9886e33820e828b2a055171b35dc3a8261c2d930
treea1c597604dcb239804684f452263bec295d77ae3
parent2c117e018ff2826ebb4333f9ae5b75d1ba95017d
perf tools: Default to 1 KHz auto-sampling freq events

Use auto-freq events by default in perf record and
perf top.

This allows more consistent hardware event sampling,
regardless of the intensity of the underlying event.

It also keeps us from over-sampling on larger/busier
systems.

(also make surrounding initializations more consistent)

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/builtin-top.c