All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: adeos-main@gna.org
Cc: Philippe Gerum <rpm@xenomai.org>
Subject: [Adeos-main] [PATCH 2/4] tracer: tune defaults
Date: Thu, 11 Oct 2007 15:06:59 +0200	[thread overview]
Message-ID: <470E1FF3.6010606@domain.hid> (raw)

[-- 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);



                 reply	other threads:[~2007-10-11 13:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=470E1FF3.6010606@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=rpm@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.