@defined in schedtimes.stp
Joachim Worringen
worringen@gmail.com
Wed Nov 3 11:02:00 GMT 2010
Am 03.11.2010 11:36, schrieb Mark Wielaard:
> I don't know of any official rpm archives.
> But in theory the following should just work:
>
> wget http://sourceware.org/systemtap/ftp/releases/systemtap-1.3.tar.gz
> tar zxf systemtap-1.3.tar.gz
> cd systemtap-1.3
> ./configure --prefix=/usr/local/systemtap
> make
> sudo make install
>
> And then just use the stap binary from /usr/local/systemtap/bin
Works perfectly this way. Is it generally sufficient to just install the
kernel-debuginfo packages, and then the systemtap tarball?
[root@x8dth-1 systemtap]# /usr/local/systemtap/bin/stap schedtimes.stp
all mode
execname: pid run(us) sleep(us) io_wait(us) queued(us)
total(us)
init: 1 6 3549288 0 3
3549297
migration/0: 2 3 3027334 0 3
....
Now for the results: what I want to figure out with this script is
whether there are situations where a thread (user space, in my case)
wants to run, but has to wait to be scheduled on a CPU. This should
exactly be what the "queued" column contains, right?
thanks, Joachim
More information about the Systemtap
mailing list