Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] Dump threads not positive number
       [not found] ` <5BFEA7FCA148491A899CBACB3E6AAEAC@zhaoleiwin>
@ 2009-03-10 16:18   ` Philby John
  0 siblings, 0 replies; 2+ messages in thread
From: Philby John @ 2009-03-10 16:18 UTC (permalink / raw)


Hello Zhaolei,

	Thank you for your response. I guess that did the trick. I was
referring to old documentation, but was using the new version of LTTng.


Thanks,
Philby


On Tue, 2009-03-10 at 22:06 +0800, Zhaolei wrote:
> * From: "Philby John" <pjohn@in.mvista.com>
> > Hello,
> > 
> > Kernel: 2.6.29-rc6
> > LTTng: 0.103
> > ltt-cntrl: 0.66
> > lttv: 0.12.11-18022009
> > Target: x86
> > 
> > 
> > When running lttctl 
> >>lttctl -n trace -d -l /mnt/debugfs/ltt -t /tmp/trace
> > 
> Hello, Philby John
> 
> lttctl's command arguments was changed from lttng 0.67(lttctl 0.61).
> You can use lttctl --help to get detail.
> 
> Cound you try:
> lttctl -Cw /tmp/trace trace
> 
> B.R.
> Zhaolei
> 
> > I get the error "Dump threads not positive number". Looking at the code
> > in lttctl.c sscanf is passed a string "optarg" (if the above command is
> > used contains "trace") and is converted to an unsigned int to be stored
> > in "opt_dump_threads" which is an unsigned int. I do not understand the
> > need to convert an arbitrary string and store its value into the
> > variable "opt_dump_threads"
> > 
> > 
> > Does anyone have the same problem and a solution? What is the meaning of
> > this error?
> > 
> > Thanks and regards,
> > Philby
> > 
> > 
> >





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ltt-dev] Dump threads not positive number
@ 2009-03-10 12:45 Philby John
  0 siblings, 0 replies; 2+ messages in thread
From: Philby John @ 2009-03-10 12:45 UTC (permalink / raw)


Hello,

Kernel: 2.6.29-rc6
LTTng: 0.103
ltt-cntrl: 0.66
lttv: 0.12.11-18022009
Target: x86


When running lttctl 
>lttctl -n trace -d -l /mnt/debugfs/ltt -t /tmp/trace

I get the error "Dump threads not positive number". Looking at the code
in lttctl.c sscanf is passed a string "optarg" (if the above command is
used contains "trace") and is converted to an unsigned int to be stored
in "opt_dump_threads" which is an unsigned int. I do not understand the
need to convert an arbitrary string and store its value into the
variable "opt_dump_threads"


Does anyone have the same problem and a solution? What is the meaning of
this error?

Thanks and regards,
Philby






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-10 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1236688090.4103.14.camel@localhost.localdomain>
     [not found] ` <5BFEA7FCA148491A899CBACB3E6AAEAC@zhaoleiwin>
2009-03-10 16:18   ` [ltt-dev] Dump threads not positive number Philby John
2009-03-10 12:45 Philby John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox