This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Script run makes the system to hang
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: beginner966 <nitin966 at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 02 Mar 2009 13:44:35 -0500
- Subject: Re: Script run makes the system to hang
- References: <22271687.post@talk.nabble.com>
beginner966 <nitin966@gmail.com> writes:
> I had written this script to gather the time spent by a task in the
> runqueue. It runs fine for 1-2 ms or so(short time I mean). But
> whenever I try to run it without an exit() in timer function, my
> system hangs. [...]
Can you collect the information suggested by the HowToReportBugs systemtap
wiki page and/or by running the "stap-report" script?
> Please suggest some help regarding this matter as to how to make this script
> run for infinite amount of time and provide useful statistics.
> probe timer.ms(11)
> {
> exit();
> }
(Please note that 11 milliseconds is a very short time indeed.)
> probe kernel.function("finish_task_switch") [...]
I wonder if utrace-based or scheduler.stp tapset-based probe points
may serve as well.
- FChE