stack_used() not accurate?
Frank Ch. Eigler
fche@redhat.com
Tue Jun 3 23:14:00 GMT 2008
Jim Keniston <jkenisto@us.ibm.com> writes:
> [...] But keep in mind that on i386, when your breakpoint trap
> happens in kernel code, esp and ss aren't saved on the stack. So
> regs->esp and regs->ss contain the top of the pre-trap stack, and
> the pre-trap stack pointer is ®s->esp, not regs->esp.
We should hide away this peculiarity from tapsets / the runtime.
- FChE
More information about the Systemtap
mailing list