Really stupid /sys/modules patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

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: [email protected]
+E: [email protected]
+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;

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux