This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [perfmon] Re: perfmon2 TODO list (4/4)
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