Searched hist:f92128193094c288bc315db1694fafeaeb7ee1d0 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | parse-events.c | diff f92128193094c288bc315db1694fafeaeb7ee1d0 Wed Apr 14 15:09:02 CDT 2010 Frederic Weisbecker <fweisbec@gmail.com> 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>
|
/openbmc/linux/tools/perf/ |
H A D | builtin-record.c | diff f92128193094c288bc315db1694fafeaeb7ee1d0 Wed Apr 14 15:09:02 CDT 2010 Frederic Weisbecker <fweisbec@gmail.com> 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>
|