Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] Lttng2 issue

Hi Alexandre,

When setting the lttng trace type only Generic CTF Trace is available, there's no kernel type option for me.  I think the plug-in has the capability to figure out the type option since the other day when I played with kernel tracing data, I only see Kernel Trace option.

BTW, I believe I'm using the latest lttng2.  I'm attaching my tracing folder, so can you try to import it?

Thanks,
Jessica

-----Original Message-----
From: Alexandre Montplaisir [mailto:alexandre.montplaisir@xxxxxxxxxx]
Sent: Tuesday, July 31, 2012 4:38 PM
To: Zhang, Jessica
Cc: Linux Tools developer discussions
Subject: Re: [linuxtools-dev] Lttng2 issue

Hi Jessica,

There was a known bug in 1.0 where it would fail to validate a trace if it contained a stream with only 1 packet . This is often the case with small UST traces, since those do not have a lot of events.

As a workaround, you can use the "Common Trace Format -> Kernel Trace"
type. Some views will be empty, but the histogram, events table and statistics should work.
Alternatively, you could update to Linux Tools 1.1. Instructions at http://wiki.eclipse.org/Linux_Tools_Project/PluginInstallHelp

If either method does not fix your problem, please let us know, you might be hitting something else.


Cheers,
Alexandre



On 12-07-31 06:33 PM, Zhang, Jessica wrote:
> Hi,
>
>
>
> I've created an user space tracing with lttng2.0.  The trace data are
> captured under
>
> /lttng-traces/mysession-20120731-150610/ust/lt-hello-2718-20120731-150
> 646$
>
> As:
>
> channel0_0  channel0_2  channel0_4  channel0_6  metadata
>
> channel0_1  channel0_3  channel0_5  channel0_7
>
>
>
> So in my eclipse tracing project, I tried to import the data by selecting the tracing data folder, and under Traces, it only list 1 which is lt-hello-2718-20120731-150646.  When I tried to select trace type as "Common Trace Format->Generic CTF Trace", I'm getting "Type could not be set for one or more traces".  If I import each individual files, e.g. channel0_0 and assign trace type for it, I'm also getting the same error.
>
>
>
> BTW, the trace is generated using the latest stable lttng ust packages
> which is 2.0.4. And my lttng is of 1.0.0.201207261918
>
>
>
> So what am I missing here?
>
>
>
> Thanks,
>
> Jessica
>
>
--
Alexandre Montplaisir
DORSAL lab,
École Polytechnique de Montréal

Attachment: mytrace.tar.bz2
Description: mytrace.tar.bz2


Back to the top