path: root/tools/perf/scripts/python/bin/syscall-counts-record
diff options
authorFrederic Weisbecker <fweisbec@gmail.com>2010-04-14 22:09:02 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2010-04-15 04:12:52 +0200
commitf92128193094c288bc315db1694fafeaeb7ee1d0 (patch)
tree492e6ead96b08c4a5d8761d75252afb9a084f66a /tools/perf/scripts/python/bin/syscall-counts-record
parentbdef3b02ceeb97f5f67fcfa6dff13c4e70b34fb7 (diff)
perf: Make the trace events sample period default to 1
Trace events are mostly used for tracing and then require not to be lost when possible. As opposite to hardware events that really require to trigger after a given sample period, trace events mostly need to trigger everytime. It is a frustrating experience to trace with perf and realize we lost a lot of events because we forgot the "-c 1" option. Then default sample_period to 1 for trace events but let the user override it. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions