Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] Arrays printed in hex
Date: Sun, 13 Jan 2013 12:58:39 -0500	[thread overview]
Message-ID: <20130113175839.GB3917@Krystal> (raw)
In-Reply-To: <20998D40D9A2B7499CA5A3A2666CB1EB19F8AEE2@ZURMSG1.QUANTUM.com>

* 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



  reply	other threads:[~2013-01-13 17:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10  4:49 David OShea
2013-01-13 17:58 ` Mathieu Desnoyers [this message]
2013-01-13 17:59   ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130113175839.GB3917@Krystal \
    --to=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox