From: Frederic Weisbecker Date: Wed, 14 Apr 2010 20:09:02 +0000 (+0200) Subject: perf: Make the trace events sample period default to 1 X-Git-Tag: v2.6.35-rc1~522^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f92128193094c288bc315db1694fafeaeb7ee1d0;p=pandora-kernel.git 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 Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Thomas Gleixner --- Reading git-diff-tree failed