<div dir="ltr">Great. Thanks for the response. I wish that patch rolls out soon.<div><br></div><div>BTW, did you mean there is a different approach with the current version of LTTng?</div><div><br></div><div>-- Chid</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 3, 2015 at 7:28 AM, Jérémie Galarneau <span dir="ltr"><<a href="mailto:jeremie.galarneau@efficios.com" target="_blank">jeremie.galarneau@efficios.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Mar 31, 2015 at 12:39 PM, Chidhu R <<a href="mailto:chid1989@gmail.com">chid1989@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I wanted to know if there is a way to print complex data types, given the<br>
> pointer to it.<br>
><br>
> For ex,<br>
><br>
> class Msg {<br>
> int a;<br>
> char *str<br>
> };<br>
><br>
> // Create an object for Msg<br>
> // pass the address of the object to LTTng and make LTTng print the values<br>
> of a and str. I do not want to dereference the pointer and send the<br>
> individual values. Or, if there is a function which can be written to<br>
> dereference the values and this function could be called each time I pass<br>
> the address of the object is also fine.<br>
><br>
> Is there a way to achieve this with LTTng?<br>
<br>
</div></div>Not for the moment. Geneviève Bastien (CC-ed) has worked on it and<br>
proposed a patch set. However, I'm not sure of the status of this<br>
feature. I think Mathieu wanted to go with a different approach.<br>
<br>
Regards,<br>
Jérémie<br>
<br>
><br>
> Thanks<br>
> Chid<br>
><br>
> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Jérémie Galarneau<br>
EfficiOS Inc.<br>
<a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a><br>
</font></span></blockquote></div><br></div>