This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC] Hardware Breakpoint support for systemtap translator
> Enabling systemtap to set hardware breakpoints at runtime would be a
> very useful feature to have, but it presents a problem. Kprobe handlers
> get executed in exception context, and it is not possible to register a
> hardware breakpoint from within exception context. I'm wondering how it
> could be implemented..
Hmm. That seems like a general systemtap issue for a variety of features
down the line. There are other things for which dynamic setup can only be
done from a safer process context, such as dynamically enabling various
sorts of user probes.
Thanks,
Roland