* [Adeos-main] [PATCH 2/4] tracer: tune defaults
@ 2007-10-11 13:06 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2007-10-11 13:06 UTC (permalink / raw)
To: adeos-main; +Cc: Philippe Gerum
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
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
[-- Attachment #2: tune-tracer-defaults.patch --]
[-- Type: text/x-patch, Size: 944 bytes --]
---
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-11 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-11 13:06 [Adeos-main] [PATCH 2/4] tracer: tune defaults Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.