mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Largret <largret@gmail.com>
To: Adayadil Thomas <adayadil.thomas@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Creating new System.map with modules symbol info
Date: Tue, 08 Nov 2005 14:08:29 -0800	[thread overview]
Message-ID: <1131487709.5732.6.camel@shogun.daga.dyndns.org> (raw)
In-Reply-To: <fb7befa20511081345l497846abla28f978fc4e45442@mail.gmail.com>

On Tue, 2005-11-08 at 16:45 -0500, Adayadil Thomas wrote:
> Thanks for the reply.
> 
> Usage of mksysmap is --
> mksysmap vmlinux System.map
> 
> How do I specify the module which is not included in the kernel ?
> Is that possible ?

you could do:

nm -n /path/to/module.ko | grep -v '\( [aUw] \)\|\(__crc_\)\|\( \
$[adt]\)'>/path/to/module.map

This is essentially what mksysmap does, except with the ability to
define 'nm' locations. This isn't really a file that could be used in
place of the System.map file though. At least not if I understand the
purpose of it.

The System.map file is used to keep track of symbols in the kernel. I
believe the module symbols can be traced with the aid of some of the
debug kernel configuration options.

--
Chris Largret <http://daga.dyndns.org>


  parent reply	other threads:[~2005-11-08 22:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08 21:04 Adayadil Thomas
2005-11-08 21:19 ` Chris Largret
2005-11-08 21:45   ` Adayadil Thomas
2005-11-08 22:01     ` Jan-Benedict Glaw
2005-11-08 22:08     ` Chris Largret [this message]
2005-11-08 22:05 ` Arjan van de Ven
2005-11-08 22:16   ` linux-os (Dick Johnson)
2005-11-08 22:37     ` Adayadil Thomas
2005-11-09 12:21       ` Paulo Marques
2005-11-09 13:09       ` linux-os (Dick Johnson)

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=1131487709.5732.6.camel@shogun.daga.dyndns.org \
    --to=largret@gmail.com \
    --cc=adayadil.thomas@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®