Hi, Benyamin.

Take a look at your System.map file, located in the /boot directory. It
will show you the locations of all of the modules and entry points
inside the kernel. Here, on my SLES9 2.6.5-7.201-s390x, system, looking
in the System.map-2.6.5-7.201-s390x file I find that "nfs_mark_uptodate"
is located at:

000000000021500c t nfs_mark_uptodate

Does this answer your question?

Binyamin Dissen wrote:
On Thu, 29 Nov 2007 16:59:20 +0100 Rob van der Heij <[EMAIL PROTECTED]> wrote:

:>On Nov 29, 2007 4:42 PM, Binyamin Dissen <[EMAIL PROTECTED]> wrote:

:>> zLinux is running under VM.

:>Good! As it was meant to ;-)

:>> The only issue remaining is to determine where the module was loaded.

:>cat /proc/modules

:>You may also find pleasure in doing things like
:> make kernel/sched.lst
:>for example to get the assembler listing with generated instructions.

Mode details, please.

Say I wish to trap at - nfs_mark_uptodate - which is in fs/nfs/write.c

How do I locate that symbol in memory?

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel



--
DJ

V/Soft
  z/VM and mainframe Linux expertise, training,
  consulting, and software development
www.vsoft-software.com

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to