mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Wisniewski <bob@watson.ibm.com>
To: linux-kernel@vger.kernel.org, ltt-dev@shafik.org, ltt@shafik.org
Cc: trz@us.ibm.com, karim@opersys.com
Subject: LTT
Date: Sat, 10 Apr 2004 13:30:47 -0400 (EDT)	[thread overview]
Message-ID: <16504.12007.769936.508674@k42.watson.ibm.com> (raw)

When LTT was considered for 2.5 there was push back because it was felt
that there wasn't a community of people interested in it.  With 2.7 on the
horizon and a little more emphasis on RAS features, this presents a good
opportunity to consider LTT.  It has continued to be cleaned, has been
integrated with relayfs, and can use dprobes so that trace points do not
need to "pollute" the code.  As LTT is considered for 2.7, I thought it
would be useful to show this group the positive interest that it receives
on the LTT mailing list by occasionally forwarding comments about its use
by members of that community.  As always, Karim, Tom, and others are
available to address technical concerns.  Users of ltt should consider
posting to lkml if they would like to demonstrate an interest to seeing
it included in 2.7.

Thanks.

Robert Wisniewski
The K42 MP OS Project
http://www.research.ibm.com/K42/
bob@watson.ibm.com



> To: ltt@shafik.org
> Subject: [ltt] [LTT-0.9.6pre2] -P[pid] option doesn't works
> Date: Wed, 31 Mar 2004 11:17:19 +0200
> 
> Hi everybody,
> 
> First, i have to say that LTT is amazing: I can verify all the theory I 
> read about linux kernel!
> 
> I run a RedHat9.0 upgraded to kernel 2.6.2, on classic PIII550.
> It took me time but I managed to patch this kernel and the toolkit to 
> version 0.9.6pre2 (RelayFS support).
> and also to know how to run the daemon: the doc is great but little bit 
> old ;-(
>  (mount -t relayfs relayfs /mnt/relay)
> Anyway, I managed to make LTT trace very fine, and to display those 
> traces: wonderful!
> 
> So, my problem is that, when I trace the whole processes, it works fine:
> 
> [root@P50705 TraceToolkit-0.9.6pre2]# tracedaemon -ts3 trace.out proc.out
> TraceDaemon: Tracer open
> TraceDaemon: Tracer set to default config
> TraceDaemon: Using the lock-free tracing scheme
> TraceDaemon: Using TSC for timestamping
> TraceDaemon: Configuring 4 trace buffers
> TraceDaemon: Trace buffers are 524288 bytes
> TraceDaemon: Fetching eip for syscall on depth : 0
> TraceDaemon: Daemon will run for : (3, 0)
> TraceDaemon: Tracer is configured for 1 CPUS
> TraceDaemon: Output file(s) ready
> TraceDaemon: relayfs mount point: /mnt/relay
> [root@P50705 TraceToolkit-0.9.6pre2]# TraceDaemon: Relay file(s) ready
> TraceDaemon: Done mapping /proc
> TraceDaemon: Daemon will wait for (0, 320000) to allow 32 processes to 
> finish writing events
> TraceDaemon: End of tracing
> 
> But when I want to trace only one PID, here is the result:
> (console 1)
> [root@P50705 ]# yes >/dev/null
> (console 2)
> [root@P50705 ]# ps aux
> [....]
> root      1874  0.0  0.3  3424  440 ttyp0    R    13:32   0:03 yes
> root      1875  0.0  0.5  2636  684 ttyp1    R    13:33   0:00 ps aux
> [root@P50705 TraceToolkit-0.9.6pre2]# tracedaemon -ts3 -P1874 trace.out 
> proc.out
> TraceDaemon: Tracer open
> TraceDaemon: Tracer set to default config
> TraceDaemon: Using the lock-free tracing scheme
> TraceDaemon: Using TSC for timestamping
> TraceDaemon: Configuring 4 trace buffers
> TraceDaemon: Trace buffers are 524288 bytes
> TraceDaemon: Unable to set the tracer to track the given PID
> 
> If anybody have a suggestion, it will be greatly appreciated.
> Thanks you by advance, and sorry for my english wich is not perfect at 
> all ;)

                 reply	other threads:[~2004-04-10 17:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=16504.12007.769936.508674@k42.watson.ibm.com \
    --to=bob@watson.ibm.com \
    --cc=karim@opersys.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ltt-dev@shafik.org \
    --cc=ltt@shafik.org \
    --cc=trz@us.ibm.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

all inboxes | Powered by JetHome®