From: Keith Owens <kaos@ocs.com.au>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Module loader against 2.5.46: 9/9
Date: Wed, 06 Nov 2002 23:43:40 +1100 [thread overview]
Message-ID: <25206.1036586620@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Tue, 05 Nov 2002 11:47:27 +1100." <20021105005214.0AEAB2C237@lists.samba.org>
On Tue, 05 Nov 2002 11:47:27 +1100,
Rusty Russell <rusty@rustcorp.com.au> wrote:
>Since I believe kallsyms is important, this reimplements it sanely,
>using the current module infrastructure, and not using an external
>kallsyms script.
>
>FYI, the previous interface was:
>
>int kallsyms_symbol_to_address(
> const char *name, /* Name to lookup */
> unsigned long *token, /* Which module to start with */
> const char **mod_name, /* Set to module name or "kernel" */
> unsigned long *mod_start, /* Set to start address of module */
> unsigned long *mod_end, /* Set to end address of module */
> const char **sec_name, /* Set to section name */
> unsigned long *sec_start, /* Set to start address of section */
> unsigned long *sec_end, /* Set to end address of section */
> const char **sym_name, /* Set to full symbol name */
> unsigned long *sym_start, /* Set to start address of symbol */
> unsigned long *sym_end /* Set to end address of symbol */
> );
>
>The new one is:
>/* Lookup an address. modname is set to NULL if it's in the kernel. */
>const char *kallsyms_lookup(unsigned long addr,
> unsigned long *symbolsize,
> unsigned long *offset,
> char **modname);
If you are going to change the interface then don't call it kallsyms.
kallsyms and that interface were designed to kernel debugging in
general and kdb in particular. I need all the fields for decent
debugging and I refuse to allow my kallsyms code to be appropiated for
somebody else's usage if it stops kdb from working!
next prev parent reply other threads:[~2002-11-06 12:37 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-05 0:21 [PATCH] Module loader against 2.5.46: 1/9 Rusty Russell
2002-11-05 0:29 ` [PATCH] Module loader against 2.5.46: 3/9 Rusty Russell
2002-11-05 0:31 ` [PATCH] Module loader against 2.5.46: 4/9 Rusty Russell
2002-11-05 0:35 ` [PATCH] Module loader against 2.5.46: 5/9 Rusty Russell
2002-11-05 0:36 ` [PATCH] Module loader against 2.5.46: 6/9 Rusty Russell
2002-11-05 0:41 ` [PATCH] Module loader against 2.5.46: 7/9 Rusty Russell
2002-11-05 0:43 ` [PATCH] Module loader against 2.5.46: 8/9 Rusty Russell
2002-11-05 3:19 ` Werner Almesberger
2002-11-05 3:51 ` Rusty Russell
2002-11-05 4:08 ` Werner Almesberger
2002-11-05 4:24 ` Rusty Russell
2002-11-06 16:45 ` Bill Davidsen
2002-11-07 11:24 ` Rusty Russell
2002-11-08 3:15 ` Randy.Dunlap
2002-11-08 21:15 ` Bill Davidsen
2002-11-09 12:24 ` Mark H. Wood
2002-11-10 3:21 ` Rusty Russell
2002-11-11 12:03 ` Horst von Brand
2002-11-11 12:35 ` Richard B. Johnson
2002-11-05 0:47 ` [PATCH] Module loader against 2.5.46: 9/9 Rusty Russell
2002-11-06 12:43 ` Keith Owens [this message]
2002-11-07 11:08 ` Rusty Russell
2002-11-08 9:35 ` Russell King
2002-11-09 3:01 ` Rusty Russell
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=25206.1036586620@ocs3.intra.ocs.com.au \
--to=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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
all inboxes | Powered by JetHome®