lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [proposal] /dev/debug to host kcore (and others in the future)
On Wed, 23 Feb 2000, Richard Gooch wrote:
> How is /proc/kcore different from /dev/kmem or one of those devices,
> anyway? (I haven't bothered to look)

oh, it is very different - that's the whole point of the enhancements I
made to it :), i.e. it creates a separate ELF segment for each vmalloc'd
(but *not* ioremap'd) area created which makes the heading portion of
variable size. This is useful if you have a -g compiled kernel to do:

gdb vmlinux /proc/kcore

so you can analyze the structure on live kernel even including the
module's address space (because of vmalloc support).

Regards,
Tigran.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.061 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site