On Tue, Jul 5, 2011 at 11:07 AM, Tixy tixy@yxit.co.uk wrote:
On Tue, 2011-07-05 at 09:50 +0100, Dave Martin wrote:
Note that Thumb kernels do contain very small amounts of ARM code. But this is only for one or two special cases, and it's probably not worth trying to support these with kprobes.
I currently have ARM probes working on Thumb kernels, do you thing I should remove my changes?
If it's already there, I see no special reason not to keep it.
One question though -- how do we know when setting a probe whether the target instruction is ARM or Thumb?
AFAIK, the kernel doesn't contain sufficient information to allow us to know that, because the ARM/Thumb mapping symbols are not included when the kernel gets linked.
Cheers ---Dave