[lttng-dev] Arrays printed in hex

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Sun Jan 13 12:59:18 EST 2013


* Mathieu Desnoyers (mathieu.desnoyers at efficios.com) wrote:
> * David OShea (David.OShea at quantum.com) wrote:
> > Hi all,
> > 
> > In lttng-ust 2.0.5, tracepoint.h's comments include:
> > 
> > """
> >  *         * Integer, printed in base 10 * 
> >  *         ctf_integer(int, field_a, arg0)
> >  *
> >  *         * Integer, printed with 0x base 16 * 
> >  *         ctf_integer_hex(unsigned long, field_d, arg1)
> > [...]
> >  *         * Array sequence of signed integer values * 
> >  *         ctf_array(long, field_f, arg4, FIXED_LEN4)
> >  *         ctf_sequence(long, field_g, arg4, size_t, arg4_len)
> > """
> > 
> > Could _hex versions of ctf_array() and ctf_sequence() be easily added,
> > where all the elements of the array/sequence would be output in hex by
> > babeltrace?
> 
> Yes, this would just need to be added to lttng/ust-tracepoint-event*.h
> file. Patches are welcome.

If you cannot write a patch, please open a feature request against
lttng-ust on bugs.lttng.org

Thanks,

Mathieu

> 
> Thanks,
> 
> Mathieu
> 
> > 
> > Thanks in advance,
> > David
> > 
> > ----------------------------------------------------------------------
> > The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
> > 
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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