<div dir="ltr">Hi,<div><br></div><div>I wanted to know if there is a way to print complex data types, <b>given the pointer</b> to it.</div><div><br></div><div>For ex,</div><div><br></div><div>class Msg {</div><div>int a;</div><div>char *str</div><div>};</div><div><br></div><div>// Create an object for Msg</div><div>// <b>pass the address of the object</b> 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.</div><div><br></div><div>Is there a way to achieve this with LTTng?</div><div><br></div><div>Thanks</div><div>Chid</div></div>