This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stack_used() not accurate?


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]