Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] RFC LTTv TextDump
Date: Tue, 23 Nov 2010 13:26:54 -0500	[thread overview]
Message-ID: <20101123182653.GA17097@Krystal> (raw)
In-Reply-To: <4CEAD092.8020604@polymtl.ca>

* David Goulet (david.goulet at polymtl.ca) wrote:
> Hi everyone,
>
> I propose here, only an idea, to create a lttv plugin for "human  
> readable" text dump. There is too much information in the current  
> textdump and it's not quite useful showing a lot of cryptic symbol and  
> sec.nsec timestamp.
>
> From this (currently) :
>
> ust.event: 336310.284597315  
> (/data/dave/.usttraces/raoul-20101122150921506792809/12821_5542468726404202641/ust_6), 
> 0, 0, , , 0, 0x0, MODE_UNKNOWN { n = 42, b = 1 }
>
> I propose that this plugin output something like that :
>
> [%H:%M:%S nsec] <channel>.<event_name> : <PAYLOAD>
>
> (here is the example below)
>
> [93:25:10 284597315] ust.event : { n = 42, b = 1 }
> (we could maybe cut down 93 hours to 3 days)
>
> and having the first output of the trace being the information like :
>
> Trace set contains 1 traces
> <PATH_OF_TRACE>
> Buffer size, basic stats.
>
> For "user friendly" output, it will be way more useful.
>
> Anyone wants to jump in that kind of "small" project :)

Note that the textdump can output content coming from multiple traces,
where having the trace name in the output for each event becomes
convenient.

But when we show only one trace, it would not be needed. I'm just saying
we should not remove it entirely in every cases, because it is sometimes
needed.

Thanks,

Mathieu


-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




  parent reply	other threads:[~2010-11-23 18:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 20:20 David Goulet
2010-11-22 20:52 ` Alexandre Montplaisir
2010-11-23 18:26 ` Mathieu Desnoyers [this message]
2010-11-23 19:38   ` Alexandre Montplaisir
2010-11-23 20:15     ` Mathieu Desnoyers
2010-11-24 19:11     ` Michel Dagenais
2010-11-24 20:43       ` David Goulet
2010-11-24 22:49         ` Julien Desfossez

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=20101123182653.GA17097@Krystal \
    --to=compudj@krystal.dyndns.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