From: "Ian S. Nelson" <nelsonian@comcast.net>
To: corbet@lwn.net, akpm@osdl.org,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Really stupid /sys/modules patch
Date: Thu, 31 Aug 2006 07:30:03 -0600 [thread overview]
Message-ID: <44F6E45B.4070708@comcast.net> (raw)
[-- 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;
reply other threads:[~2006-08-31 13:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44F6E45B.4070708@comcast.net \
--to=nelsonian@comcast.net \
--cc=akpm@osdl.org \
--cc=corbet@lwn.net \
--cc=linux-kernel@vger.kernel.org \
--cc=nelsonis@earthlink.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox