Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Dominique Toupin <dominique.toupin@ericsson.com>
To: Mark Wielaard <mjw@redhat.com>
Cc: "Frank Ch. Eigler" <fche@redhat.com>,
	        "gdb@sourceware.org" 	<gdb@sourceware.org>,
	        "systemtap@sourceware.org" <systemtap@sourceware.org>
Subject: RE: Static/dynamic userspace/kernel trace
Date: Thu, 22 Apr 2010 19:46:00 -0000	[thread overview]
Message-ID: <D58A856745AB5A47B1448181D1A8BBFA01CB27F36A@EUSAACMS0701.eamcs.ericsson.se> (raw)
In-Reply-To: <1271750345.2571.23.camel@hermans.wildebeest.org>

 
> Having a very low overhead pre-filter of the trace output 
> using full expressions based on context variables, keeping 
> statistics through aggregate state variables and deciding 
> what to push through the trace output buffer using formatted 
> output and data kept in associative arrays helps a lot. Since 
> all can be done without incurring extra i/o, context-switches 
> or external/post filtering it makes interpreting/analyzing 
> the actual trace data a lot easier and lower overhead. It 
> might also help in your use case, since you don't have to 
> push multi-megabytes of trace data off a machine but can 
> tailor the trace buffers to only have a couple of K of 
> targeted output.

We can use conditional tracing in LTTng/kprobe and GDB tracepoint, it could be good to have a more elaborate conditional tracing. It could be worth it to compare the different Linux conditional tracing options (both user space/kernel and dynamic/static) and see how we can improve some of them.
Our problem is if we do a very fancy condition or live analysis of the data before logging we have too much overhead in CPU cycles.


  reply	other threads:[~2010-04-22 19:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <D58A856745AB5A47B1448181D1A8BBFA01CB20875C@EUSAACMS0701.eamcs.ericsson.se>
2010-04-19 14:14 ` Frank Ch. Eigler
2010-04-19 19:50   ` Dominique Toupin
2010-04-20  7:59     ` Mark Wielaard
2010-04-22 19:46       ` Dominique Toupin [this message]
2010-04-20 17:28     ` Frank Ch. Eigler
2010-04-20 14:01   ` Srikar Dronamraju
2010-04-20 18:06     ` Stan Shebs

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=D58A856745AB5A47B1448181D1A8BBFA01CB27F36A@EUSAACMS0701.eamcs.ericsson.se \
    --to=dominique.toupin@ericsson.com \
    --cc=fche@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=mjw@redhat.com \
    --cc=systemtap@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox