[lttng-dev] problems while printing the array

Vijay Kare vijay.kare at gmail.com
Wed Apr 25 04:35:51 EDT 2012


Dear All,
I am trying to print the array format using trace_mark function.
I have an requirement to print an integer array of 16 elements in one of
the kernel function.
I tried below but didnt get array printed in ltt dump.

trace_mark(xxxx, xxxx_send,"#a %p #lu %lu #lu %lu",pointer,
sizeof(int),PRINTSIZE);

Any help, I am not sure if array format is supported in LTT currently ?

Thank you in advance.
VJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120425/c4fdd028/attachment.html>


More information about the lttng-dev mailing list