[perfmon] Re: perfmon2 TODO list (4/4)

Frank Ch. Eigler fche@redhat.com
Thu Apr 13 22:33:00 GMT 2006


Hi -

> > That's right: as each CPU trips across a breakpoint, they are made to
> > run our handler, then single-step across the original instruction,
> > then resume.  [...]
>
> So you are saying that kprobes takes care of programming the debug
> registers on all CPUs if necessary.

To the extent kprobes touches the debug registers at all (which it may
not), it would do so only during that single-stepping part.  It would
not help us for the PMU setup, but that's OK.  kprobes is only one of
the systemtap event sources.

- FChE



More information about the Systemtap mailing list