[lttng-dev] Printing complex data types with LTTng
Chidhu R
chid1989 at gmail.com
Tue Mar 31 12:39:07 EDT 2015
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?
Thanks
Chid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150331/17a956f1/attachment.html>
More information about the lttng-dev
mailing list