All of lore.kernel.org
 help / color / mirror / Atom feed
* Really stupid /sys/modules patch
@ 2006-08-31 13:30 Ian S. Nelson
  0 siblings, 0 replies; only message in thread
From: Ian S. Nelson @ 2006-08-31 13:30 UTC (permalink / raw)
  To: corbet, akpm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I've been using systemtap for some debugging and I noticed that it
can't probe a lot of modules.     Turns out it's kind of silly,  the
sections section of /sys/module is limited to 32bytes and many of the
actual sections are a a bit longer than that.  

It seems to fix systemtap.

- --
signature


*Ian S. Nelson
PGP/GPG <http://www.gnupg.org/(en)/documentation/faqs.html#q1.1> email
preferred.
Public Key: 00D3D983
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00D3D983>
Fingerprint: 3EFD7B86B888D7E229B69E97576F1B9700D3D983 *

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9uRUV28blwDT2YMRAuGiAJsHzufM8g865+19gecHpIAt57c6SACbBilu
e6o2ByDqZT/xnQgBJeGa0DI=
=32cp
-----END PGP SIGNATURE-----


[-- Attachment #2: module_sections.patch --]
[-- Type: text/plain, Size: 916 bytes --]

diff -urP linux-2.6.17.11/CREDITS linux-2.6.17.11.fixed/CREDITS
--- linux-2.6.17.11/CREDITS	2006-08-23 15:16:33.000000000 -0600
+++ linux-2.6.17.11.fixed/CREDITS	2006-08-31 07:00:42.194781826 -0600
@@ -2469,7 +2469,8 @@
 S: United Kingdom
 
 N: Ian S. Nelson
-E: ian.nelson@echostar.com
+E: nelsonis@earthlink.net
+P: 1024D/00D3D983 3EFD 7B86 B888 D7E2 29B6  9E97 576F 1B97 00D3 D983
 D: Minor mmap and ide hacks
 S: 1370 Atlantis Ave.
 S: Lafayette CO, 80026
diff -urP linux-2.6.17.11/include/linux/module.h linux-2.6.17.11.fixed/include/linux/module.h
--- linux-2.6.17.11/include/linux/module.h	2006-08-23 15:16:33.000000000 -0600
+++ linux-2.6.17.11.fixed/include/linux/module.h	2006-08-30 20:32:14.974645595 -0600
@@ -217,7 +217,7 @@
 };
 
 /* Similar stuff for section attributes. */
-#define MODULE_SECT_NAME_LEN 32
+#define MODULE_SECT_NAME_LEN 96
 struct module_sect_attr
 {
 	struct module_attribute mattr;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-31 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 13:30 Really stupid /sys/modules patch Ian S. Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.