[lttng-dev] How to debug the CTF struct problem?

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Jan 24 20:58:21 EST 2013


* Yang Wang (yangw.wang5 at unb.ca) wrote:
> Hello
> 
> Could anybody know what causes the following problem? How to debug it?
> I guess somewhere a tracepoint is wrong, but I don't know which one as
> I have tons of tracepoints automatically generated and scattered in
> all the system files.

can you show us the content of:

/home/yang/lttng-traces/auto-20130124-190929/metadata

please ?

Also the output of babeltrace -d -v might help.

Thanks,

Mathieu

> 
> yang at yang-OptiPlex-990:~/j9home/home/yangwang/benchmarks$ lttng view
> Trace directory: /home/yang/lttng-traces/auto-20130124-190929
> 
> [error] ctf_struct_type_declarators_visit: duplicate field _string in struct
> [error] ctf_visitor_construct_metadata: event declaration error
> [error] Error in CTF metadata constructor -1
> [warning] Unable to open trace metadata for path "/home/yang/lttng-traces/auto-20130124-190929/ust/java-7907-20130124-190951".
> [warning] [Context] Cannot open_trace of the format /home/yang/lttng-traces/auto-20130124-190929/ust/java-7907-20130124-190951 .
> 
> Thanks in advance
> 
> Yang
> 

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list