* [lttng-dev] Arrays printed in hex
@ 2013-01-10 4:49 David OShea
2013-01-13 17:58 ` Mathieu Desnoyers
0 siblings, 1 reply; 3+ messages in thread
From: David OShea @ 2013-01-10 4:49 UTC (permalink / raw)
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?
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] Arrays printed in hex
2013-01-10 4:49 [lttng-dev] Arrays printed in hex David OShea
@ 2013-01-13 17:58 ` Mathieu Desnoyers
2013-01-13 17:59 ` Mathieu Desnoyers
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Desnoyers @ 2013-01-13 17:58 UTC (permalink / raw)
* 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.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] Arrays printed in hex
2013-01-13 17:58 ` Mathieu Desnoyers
@ 2013-01-13 17:59 ` Mathieu Desnoyers
0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Desnoyers @ 2013-01-13 17:59 UTC (permalink / raw)
* 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-13 17:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-10 4:49 [lttng-dev] Arrays printed in hex David OShea
2013-01-13 17:58 ` Mathieu Desnoyers
2013-01-13 17:59 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox