Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion
From: Jiri Olsa
Date: Fri Aug 22 2014 - 12:47:11 EST
On Thu, Aug 21, 2014 at 04:03:01PM -0400, Alexandre Montplaisir wrote:
>
> On 08/21/2014 12:58 PM, Jiri Olsa wrote:
> >hum, I've got nothing from babeltrace:
> >
> >[jolsa@krava ~]$ su
> >Password:
> >[root@krava jolsa]# lttng create perf
> >Spawning a session daemon
> >Session perf created.
> >Traces will be written in /root/lttng-traces/perf-20140821-184956
> >[root@krava jolsa]# lttng add-context -k -t prio -t perf:cpu:cycles
>
> Oh I see the problem, you don't have any events enabled! In LTTng terms, a
> "context" is a piece of information that gets attached to every event. But
> if you don't have any event at all, you're not gonna see much context
> information. ;)
>
> Try adding a
> # lttng enable-event -a -k
> before starting the session. This should give you some output in the
> viewers.
ugh ;-) 'perf:cpu:cycles' already sounded like event to me.. will try
thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/