Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH] RFC. User space backtrace on segv | Date | Wed, 6 Oct 2004 19:17:06 +0200 |
| |
On Mittwoch, 6. Oktober 2004 18:39, Alex Bennee wrote: > On Wed, 2004-10-06 at 17:37, Alex Bennee wrote: > > Hi, > > > > I hacked up this little patch to dump the stack and attempt to generate > > a back-trace for errant user-space tasks. > > <snip> >
Note that there already is similar functionality on s390, possibly on other architectures as well. In kernel/sysctl.c, there is code to make the behavior run-time selectable. The sysctl is currently called KERN_S390_USER_DEBUG_LOGGING and compiled in only for s390, but it might be a good idea to define this in an architecture independent way, e.g. with a config option that is always selected on s390, sh and possibly other archs.
Arnd <>< [unhandled content-type:application/pgp-signature] | |