diff options
author | Frederic Weisbecker <[email protected]> | 2010-04-14 22:09:02 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2010-04-15 04:12:52 +0200 |
commit | f92128193094c288bc315db1694fafeaeb7ee1d0 (patch) | |
tree | 492e6ead96b08c4a5d8761d75252afb9a084f66a /tools/perf/util/trace-event-scripting.c | |
parent | bdef3b02ceeb97f5f67fcfa6dff13c4e70b34fb7 (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 <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions