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

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
---
 kernel/ipipe/tracer.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.22.9/kernel/ipipe/tracer.c
===================================================================
--- linux-2.6.22.9.orig/kernel/ipipe/tracer.c
+++ 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);


_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to