From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] problems while printing the array
Date: Thu, 26 Apr 2012 17:21:11 -0400 [thread overview]
Message-ID: <20120426212111.GD1646@Krystal> (raw)
In-Reply-To: <CAEaUbFn93MifQM_DzNJBZju9iG5mMcco9EXs2tyRFTecwqiZug@mail.gmail.com>
* Vijay Kare (vijay.kare at gmail.com) wrote:
> 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 ?
Array format support in markers has never been implemented in LTTng 0.x,
even though LTTV was ready to parse it.
The new LTTng 2.0 can produce and read those arrays. See the lttng
website to get the new versions. It does not rely on markers anymore
though, you'll need to move to TRACE_EVENT for kernel tracing, and
TRACEPOINT_EVENT for user-space tracing.
Thanks,
Mathieu
>
> Thank you in advance.
> VJ
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
prev parent reply other threads:[~2012-04-26 21:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-25 8:35 Vijay Kare
2012-04-26 21:21 ` Mathieu Desnoyers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120426212111.GD1646@Krystal \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox