From: jeremie.galarneau@efficios.com (Jérémie Galarneau)
Subject: [lttng-dev] Printing complex data types with LTTng
Date: Sat, 4 Apr 2015 13:19:41 -0400 [thread overview]
Message-ID: <CA+jJMxtnGWWNeShz16mc=9TDWo4_i=q9J7VV_Tzw51efQ-WA2Q@mail.gmail.com> (raw)
In-Reply-To: <CAL1ZhOOHWw3BprGNGtOEahAohKvjvy1Zc1mr_DOmo9RyC0ARVw@mail.gmail.com>
On Fri, Apr 3, 2015 at 4:26 PM, Chidhu R <chid1989 at gmail.com> wrote:
> Great. Thanks for the response. I wish that patch rolls out soon.
>
> BTW, did you mean there is a different approach with the current version of
> LTTng?
No, unfortunately.
J?r?mie
>
> -- Chid
>
> On Fri, Apr 3, 2015 at 7:28 AM, J?r?mie Galarneau
> <jeremie.galarneau at efficios.com> wrote:
>>
>> On Tue, Mar 31, 2015 at 12:39 PM, Chidhu R <chid1989 at gmail.com> wrote:
>> > Hi,
>> >
>> > I wanted to know if there is a way to print complex data types, given
>> > the
>> > pointer to it.
>> >
>> > For ex,
>> >
>> > class Msg {
>> > int a;
>> > char *str
>> > };
>> >
>> > // Create an object for Msg
>> > // pass the address of the object to LTTng and make LTTng print the
>> > values
>> > of a and str. I do not want to dereference the pointer and send the
>> > individual values. Or, if there is a function which can be written to
>> > dereference the values and this function could be called each time I
>> > pass
>> > the address of the object is also fine.
>> >
>> > Is there a way to achieve this with LTTng?
>>
>> Not for the moment. Genevi?ve Bastien (CC-ed) has worked on it and
>> proposed a patch set. However, I'm not sure of the status of this
>> feature. I think Mathieu wanted to go with a different approach.
>>
>> Regards,
>> J?r?mie
>>
>> >
>> > Thanks
>> > Chid
>> >
>> > _______________________________________________
>> > lttng-dev mailing list
>> > lttng-dev at lists.lttng.org
>> > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>> >
>>
>>
>>
>> --
>> J?r?mie Galarneau
>> EfficiOS Inc.
>> http://www.efficios.com
>
>
--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com
prev parent reply other threads:[~2015-04-04 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAL1ZhONSOm9F8GkQ_z9LSkKwPGzg0C-BROu1AmxtCsZJLnzRzg@mail.gmail.com>
2015-04-03 14:28 ` Jérémie Galarneau
2015-04-03 20:26 ` Chidhu R
2015-04-04 17:19 ` Jérémie Galarneau [this message]
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='CA+jJMxtnGWWNeShz16mc=9TDWo4_i=q9J7VV_Tzw51efQ-WA2Q@mail.gmail.com' \
--to=jeremie.galarneau@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