On Fri, Apr 3, 2015 at 4:26 PM, Chidhu R <[email protected]> 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 > <[email protected]> wrote: >> >> On Tue, Mar 31, 2015 at 12:39 PM, Chidhu R <[email protected]> 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 >> > [email protected] >> > 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 _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
