Re: [PATCH] RFC. User space backtrace on segv
Arnd Bergmann <[email protected]> Wed, 6 Oct 2004 19:17:06 +0200
| Newsgroups | gmane.linux.kernel,gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general |
|---|---|
| Message-ID | <[email protected]> |
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 <><
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBZCiX5t5GS2LDRf4RAp//AKCfAN/7KORG8Qd4bqE71/6IoKGLPQCfdde/ TH3YQt3Gxl8HmnPaMC8ySaM= =OQ9T -----END PGP SIGNATURE-----