This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Help required with a script
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: beginner966 <nitin966 at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 12 Jan 2009 14:08:20 -0500
- Subject: Re: Help required with a script
- References: <21418350.post@talk.nabble.com>
beginner966 <nitin966@gmail.com> writes:
> [...] This is the script which I had written to gather information
> on migration of task to other CPU. I also wanted to report the
> appropriate errors, so I had used 4 kernel.statement probes. But the
> problem is that all 4 kernel.statement probes get executed
> simultaneously, which should not happen according to the original
> code. [...]
I suspect we're getting hurt by the statement placement heuristics
that allow a slight fuzz in line numbers if there is no exact match in
the debugging info. Could you run again with --vp 02 to see what PC
values the various .statement probes end up mapping to?
- FChE