From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] babeltrace-log
Date: Fri, 20 Apr 2012 11:00:25 -0400 [thread overview]
Message-ID: <20120420150025.GA14908@Krystal> (raw)
In-Reply-To: <524C960C5DFC794E82BE548D825F05CF29FBE8@EU-MBX-04.mgc.mentorg.com>
* Oestman, Fredrik (Fredrik_Oestman at mentor.com) wrote:
> Mathieu Desnoyers wrote:
> > The "babeltrace-log" command converts from a text log to a CTF trace.
>
> I did this:
>
> $ babeltrace --no-delta --clock-seconds --clock-raw combined > combined.log
> $ babeltrace-log combined_new < combined.log
> $ babeltrace --no-delta --clock-seconds --clock-raw combined_new > combined_new.log
> [error] Invalid magic number 0x2BCAB7F7 at packet 196 (file offset 6422528).
> [error] Open file stream error.
> [warning] [Context] Cannot open_trace of the format combined.ctf .
>
> [warning] [Context] opening trace "combined.ctf" from combined.ctf for reading.
>
> Am I doing something obviously wrong, or is just a bit more care needed when using babeltrace-log?
make sure you have an up to date babeltrace version. If the problem
persists with an updated version, can you send me a link to your
original "combined" trace files ? (a .tar.gz would be perfect).
This use-case works fine here.
Please note that babeltrace-log will simply take a text log and save
each line into a CTF trace (as a string).
Thanks,
Mathieu
>
> "combined" is a trace containing events in both kernel and ust domains.
>
>
> Cheers,
>
> Fredrik ?stman
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
prev parent reply other threads:[~2012-04-20 15:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-18 23:51 [lttng-dev] [RELEASE] Babeltrace 1.0.0-rc1 Mathieu Desnoyers
2012-04-20 12:17 ` [lttng-dev] babeltrace-log Oestman, Fredrik
2012-04-20 15:00 ` Mathieu Desnoyers [this message]
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=20120420150025.GA14908@Krystal \
--to=mathieu.desnoyers@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