Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: Ji.Zhai@ca.flextronics.com (Ji Zhai)
Subject: [ltt-dev] no metadata tracefile
Date: Tue, 13 Sep 2011 11:47:09 -0700	[thread overview]
Message-ID: <BC65C03AE25C1D4596B4AD414367C10F04BADAAC@AMSACEX2.americas.ad.flextronics.com> (raw)
Message-ID: <20110913184709.JZAM_HGgLlQadp00cI2v87P2nHNjoEtFcrYquFKUg9s@z> (raw)
In-Reply-To: <BC65C03AE25C1D4596B4AD414367C10F04AD90F3@AMSACEX2.americas.ad.flextronics.com>

Hi All,

 

Could you please give me any suggestions or hints?

Thanks in advance!

 

Ji

 

________________________________

From: Ji Zhai [mailto:Ji.Zhai@ca.flextronics.com] 
Sent: Wednesday, August 31, 2011 4:47 PM
To: ltt-dev at lists.casi.polymtl.ca
Subject: [ltt-dev] no metadata tracefile

 

Hi All,

 

As the restriction of the hardware and development environment, I am
trying to use UST as the following combination:

1. PowerPC 44x platform

2. Linux kernel 2.6.31.12

3. LTTng v0.170

4. userspace RCU 0.4.6

5. UST 0.6

6. LTTV 0.12.20

 

I can get the kernel traces and use LTTV 0.12.20 to review them.

However, when I use the sample code from the "Section 3 Quick Start" of
UST manual,

 
#include <ust/marker.h>
     
     int main(int argc <http://en.wikipedia.org/wiki/Main_function> ,
char **argv)
     {
        int v;
        char *st;
     
        /* ... set values of v and st ... */
     
        /* a marker: */
        trace_mark(ust, myevent, "firstarg %d secondarg %s", v, st);
     
        /* a marker without arguments: */
        trace_mark(ust, myotherevent, MARK_NOARGS);
     
        return 0;
     }

 

I got the errors by using LTTV 0.12.20:

 

** (process:18957): WARNING **: Unsupported trace version : 2.6

 

** (process:18957): WARNING **: parse_trace_header error

 

** (process:18957): WARNING **: Unsupported trace version : 2.6

 

** (process:18957): WARNING **: parse_trace_header error

 

** (process:18957): WARNING **: Trace
/nas/LTTng/mytrace/24407_5647013710766707006 has no metadata tracefile

 

** (process:18957): CRITICAL **: cannot open trace .

/usr/local/bin/lttv: line 15: 18957 Segmentation fault      $0.real $*

 

From the mailing list, some guys said to use LTTV 0.12.30 or higher may
solve this problem.

 

After run LTTV 0.12.32, I got:

 

** ERROR **: Undescribed event 0 in channel ust

aborting...

/home/LTTng/bin/lttv: line 15: 19600 Aborted                 $0.real $*

 

So, I doubt that I may miss some key steps to configure the kernel for
powerpc. The "UST" does not create the trace for me.

I'd like to get your suggestions. Thanks in advance!

 

Regards,

 

Ji

Legal Disclaimer: The information contained in this message may be
privileged and confidential. It is intended to be read only by the
individual or entity to whom it is addressed or by their designee. If
the reader of this message is not the intended recipient, you are on
notice that any distribution of this message, in any form, is strictly
prohibited. If you have received this message in error, please
immediately notify the sender and delete or destroy any copy of this
message 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110913/6fa68e63/attachment-0003.htm>


  reply	other threads:[~2011-09-13 18:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 20:47 Ji Zhai
2011-09-13 18:47 ` Ji Zhai [this message]
2011-09-13 18:47   ` Ji Zhai
2011-09-13 18:57   ` Mathieu Desnoyers
     [not found]   ` <BLU0-SMTP70493DBB789A80AE9E466A96050@phx.gbl>
2011-09-13 19:22     ` Ji Zhai
2011-09-13 20:03       ` Alexandre Montplaisir
2011-09-14 18:05         ` Ji Zhai
2011-09-14 18:05           ` Ji Zhai
2011-09-15 13:31           ` Alexandre Montplaisir
2011-09-15 15:03             ` Ji Zhai
2011-09-15 16:21               ` Alexandre Montplaisir
2011-09-15 16:21           ` Mathieu Desnoyers
     [not found]           ` <BLU0-SMTP10DC664C76B1F77D7B84BC96070@phx.gbl>
2011-09-15 19:27             ` Ji Zhai
2011-09-15 19:27               ` Ji Zhai
2011-09-18 22:23               ` Mathieu Desnoyers
     [not found]               ` <BLU0-SMTP44E853CF05E12EB77650D196080@phx.gbl>
2011-09-19 14:12                 ` Ji Zhai
2011-09-19 15:02                   ` Mathieu Desnoyers
     [not found]                   ` <BLU0-SMTP423756B62AF3BC179695E8960B0@phx.gbl>
2011-09-19 15:18                     ` Ji Zhai
2011-09-22 13:25                       ` Ji Zhai
2011-09-22 13:36                         ` Mathieu Desnoyers
2011-09-22 13:57                           ` Alex Luccisano (luccisa)
2011-09-22 15:12                             ` Mathieu Desnoyers
  -- strict thread matches above, loose matches on Subject: below --
2011-08-31 19:23 Ji Zhai

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=BC65C03AE25C1D4596B4AD414367C10F04BADAAC@AMSACEX2.americas.ad.flextronics.com \
    --to=ji.zhai@ca.flextronics.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