From: Jiri Olsa <jolsa@redhat.com>
To: "Jérémie Galarneau" <jeremie.galarneau@efficios.com>
Cc: Alexandre Montplaisir <alexmonthy@voxpopuli.im>,
linux-kernel@vger.kernel.org, Jiri Olsa <jolsa@kernel.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
David Ahern <dsahern@gmail.com>,
Dominique Toupin <dominique.toupin@ericsson.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
Jeremie Galarneau <jgalar@efficios.com>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Namhyung Kim <namhyung@gmail.com>,
Paul Mackerras <paulus@samba.org>,
Peter Zijlstra <peterz@infradead.org>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Tom Zanussi <tzanussi@gmail.com>
Subject: Re: [PATCHv3 0/8] perf tools: Add perf data CTF conversion
Date: Thu, 29 Jan 2015 09:55:13 +0100 [thread overview]
Message-ID: <20150129085513.GE7781@krava.brq.redhat.com> (raw)
In-Reply-To: <CA+jJMxvskmK_8UhpZDZ5RvVW3znEOtqkkAp39D6cGKNEdoWHWQ@mail.gmail.com>
On Wed, Jan 28, 2015 at 05:37:56PM -0500, Jérémie Galarneau wrote:
> On Sun, Jan 25, 2015 at 8:43 AM, Jiri Olsa <jolsa@redhat.com> wrote:
> > On Fri, Jan 16, 2015 at 11:46:36AM -0500, Jérémie Galarneau wrote:
> >> On Fri, Jan 16, 2015 at 10:26 AM, Alexandre Montplaisir
> >> <alexmonthy@voxpopuli.im> wrote:
> >> > On 2015-01-15 03:57 PM, Alexandre Montplaisir wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I'm a developer for the Trace Compass tool (see links [3], [4] in Jiri's
> >> >> email). I can confirm that the generated CTF can be read correctly by our
> >> >> tool, which enables many views and analyses (Control Flow, CPU usage view,
> >> >> etc.) that were previously only available for LTTng traces.
> >> >>
> >> >> Some of our users also use perf extensively, and are looking forward to
> >> >> this feature! Is there any ETA as to when this will be merged upstream?
> >> >>
> >> >> Thanks,
> >> >> Alexandre
> >> >
> >> >
> >> > That was a bit too fast, it seems there are issues with very recent versions
> >> > of Babeltrace. You can follow the discussion at
> >> > http://lists.linuxfoundation.org/pipermail/diamon-discuss/2015-January/000007.html
> >> >
> >>
> >> It's a regression introduced by a commit that was pushed to master
> >> yesterday. I'm working on a fix.
> >> In the meantime, testing against Babeltrace master 3baf0856 should be alright.
> >
> > even on this HEAD I'm still getting the 3rd issue I described in earlier email:
> >
> > ---
> > the bt_ctf_trace_create_stream function tries to set ID on
> > stream_class which gets frozen just few moments ago in
> > bt_ctf_stream_create call..
> >
> > this trigers failure and close up of stream fd which is not set yet:
> >
> > if (close(stream->pos.fd)) {
> > perror("close");
> > }
> >
> > hence the 'close: Bad file descriptor' message
> > so this one looks like a bug to me, but we might be misusing the API also..
> > ---
> >
> > I need attached patch in perf code.. any idea?
> >
>
> I have merged a patch addressing this problem. Thanks for reporting!
cool, seems to work perfectly.. thanks
I'll resend converter v4 shortly
jirka
next prev parent reply other threads:[~2015-01-29 8:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 16:15 [PATCHv3 0/8] perf tools: Add perf data CTF conversion Jiri Olsa
2015-01-15 16:15 ` [PATCH 1/8] perf tools: Add feature check for libbabeltrace Jiri Olsa
2015-01-15 16:15 ` [PATCH 2/8] perf tools: Add new perf data command Jiri Olsa
2015-01-15 16:15 ` [PATCH 3/8] perf data: Add perf data to CTF conversion support Jiri Olsa
2015-01-15 16:15 ` [PATCH 4/8] perf data: Add a 'perf' prefix to the generic fields Jiri Olsa
2015-01-15 16:15 ` [PATCH 5/8] perf data: Add tracepoint events fields CTF conversion support Jiri Olsa
2015-01-15 16:15 ` [PATCH 6/8] perf data: Switch to multiple cpu stream files Jiri Olsa
2015-01-15 16:15 ` [PATCH 7/8] perf data: Enable stream flush within processing Jiri Olsa
2015-01-15 16:15 ` [PATCH 8/8] perf data: Add support for setting ordered_events queue size Jiri Olsa
2015-01-15 20:57 ` [PATCHv3 0/8] perf tools: Add perf data CTF conversion Alexandre Montplaisir
2015-01-16 15:26 ` Alexandre Montplaisir
2015-01-16 16:46 ` Jérémie Galarneau
2015-01-19 12:49 ` Jiri Olsa
2015-01-25 13:43 ` Jiri Olsa
2015-01-28 22:37 ` Jérémie Galarneau
2015-01-29 8:55 ` Jiri Olsa [this message]
2015-01-15 21:36 ` David Ahern
2015-01-15 23:28 ` Namhyung Kim
2015-01-16 14:33 ` Matthew Khouzam
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=20150129085513.GE7781@krava.brq.redhat.com \
--to=jolsa@redhat.com \
--cc=acme@redhat.com \
--cc=alexmonthy@voxpopuli.im \
--cc=bigeasy@linutronix.de \
--cc=dominique.toupin@ericsson.com \
--cc=dsahern@gmail.com \
--cc=fweisbec@gmail.com \
--cc=jeremie.galarneau@efficios.com \
--cc=jgalar@efficios.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=namhyung@gmail.com \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
--cc=tzanussi@gmail.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