Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: jeremie.galarneau@efficios.com (Jérémie Galarneau)
Subject: [lttng-dev] lttng trace format
Date: Thu, 20 Feb 2014 21:28:17 -0500	[thread overview]
Message-ID: <CA+jJMxvMh6__mqNyoMUQRg1NzGssvzxVH4Pec4OzUcTzR0dtiQ@mail.gmail.com> (raw)
In-Reply-To: <CAPxN80Awz15=dY4vGGV0rHf_GM79uooPhYA8JOjV8Wp6jSBARQ@mail.gmail.com>

On Thu, Feb 20, 2014 at 9:15 PM, Jessica Foest <jessica.foest at gmail.com> wrote:
> Hi all
> is there a document that explain the meaning of fields displayed in the
> traces generated by babeltrace ?
>
>
> an example :
>
> [19:52:06.617756425] (+0.000001667) workstation sys_splice: { cpu_id = 3 },
> { perf_branches = 418157709, perf_branch_instructions = 418156946,
> perf_cache_misses = 6682769, perf_cache_references = 50147680,
> perf_instructions = 3049323811, vppid = 587, ppid = 587, vtid = 3502, tid =
> 3502, vpid = 3499, nice = 0, prio = 20, procname = "lttng-consumerd", pid =
> 3499 }, { fd_in = 10, off_in = 0x0, fd_out = 26, off_out = 0x0, len = 65536,
> flags = 5 }
>
> the field mentioned in blue , is it the execution time of sys_splice ?
>

Hi Jessica,

It represents the delta between this event and the one before.

For instance, picking two events from a kernel trace on my system...

[21:25:29.901647477] (+0.000001585) XThink power_cpu_idle: { cpu_id =
2 }, { state = 4, cpu_id = 2 }
[21:25:29.901648940] (+0.000001463) XThink sched_stat_sleep: { cpu_id
= 6 }, { comm = "clementine", tid = 4318, delay = 5158461 }

901648940 - 901647477 = +0.000001463

Regards,
J?r?mie

> if yes , what's the necessity of sys_exit ?
> Regards
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com



  reply	other threads:[~2014-02-21  2:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-21  2:15 Jessica Foest
2014-02-21  2:28 ` Jérémie Galarneau [this message]
2014-02-21  2:57   ` Jessica Foest
2014-02-21 13:19 Thibault, Daniel

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=CA+jJMxvMh6__mqNyoMUQRg1NzGssvzxVH4Pec4OzUcTzR0dtiQ@mail.gmail.com \
    --to=jeremie.galarneau@efficios.com \
    /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