Attempting to try out "asynchronous probes" and the current runtime...
Martin Hunt
hunt@redhat.com
Wed Jul 13 16:37:00 GMT 2005
On Wed, 2005-07-06 at 20:31 -0700, Spirakis, Charles wrote:
> All --
>
> I'm playing around with an "asynchronous probe" concept and the
> current
> runtime using simple os timers (code is below). Anyone have experience
> with task_pt_regs() function? As you can see, I'm trying to grab the
> "current" pt_regs in the home of seeing the eip at the time of the
> timer
> interrupt, but the data I get is not what I'd hoped.
I tried to figure out that one for some runtime functions and never
found a solution.
Did you consider using the builtin kernel profiling? oprofile uses it.
It looks like you could take whats in drivers/oprofile and replace all
the data collection and transport stuff with runtime functions and have
a profiler that worked nicely with systemtap.
Martin
More information about the Systemtap
mailing list