Skip to contentSkip to conversation

tracer: tune defaults

PATCH In review Jan Kiszka 1 participant 1 message Oct 11, 2007

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 2/4 tracer: tune defaults

Set more common default values for the back-trace length and the tracer verbosity.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
---
 kernel/ipipe/tracer.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/ipipe/tracer.c +2 -2
Index: linux-2.6.22.9/kernel/ipipe/tracer.c
===================================================================
@@ -43,7 +43,7 @@
 
 #define IPIPE_DEFAULT_PRE_TRACE     10
 #define IPIPE_DEFAULT_POST_TRACE    10
-#define IPIPE_DEFAULT_BACK_TRACE    30
+#define IPIPE_DEFAULT_BACK_TRACE    100
 
 #define IPIPE_DELAY_NOTE            1000  /* in nanoseconds */
 #define IPIPE_DELAY_WARN            10000 /* in nanoseconds */
@@ -127,7 +127,7 @@ static IPIPE_DEFINE_SPINLOCK(global_path
 static int pre_trace = IPIPE_DEFAULT_PRE_TRACE;
 static int post_trace = IPIPE_DEFAULT_POST_TRACE;
 static int back_trace = IPIPE_DEFAULT_BACK_TRACE;
-static int verbose_trace;
+static int verbose_trace = 1;
 static unsigned long trace_overhead;
 
 static DEFINE_MUTEX(out_mutex);