stack_used() not accurate?

Frank Ch. Eigler fche@redhat.com
Thu May 29 18:29:00 GMT 2008


"Mike Snitzer" <snitzer@gmail.com> writes:

> [...]  I'll be exploring other implementations, but any suggestions
> would be very welcome.

THREAD_SIZE should give a good normal kernel stack size.  The
kprobe-context stack pointer would be better decoded from its pt_regs
rather than that embedded-c &a hack.

- FChE



More information about the Systemtap mailing list