This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Linux Kernel Markers


Hi -

On Tue, Sep 19, 2006 at 09:52:55AM -0700, Martin Bligh wrote:

> >[...]  (How many distributions keep around compilable source
> >trees?)
>
> ???? Boggle. Any distro that cannot find the source code for it's kernel
> deserves a swift kick to the head, plus a red hot poker somewhere else.

My question is more whether they package up such a buildable
configured patched source tree (/usr/src/redhat/BUILD/* in RH-speak),
or just some extract like the .c/.h files.

> >>[...] It seems like all we'd need to do is "list all references to
> >>function, freeze kernel, update all references, continue", [...]
> >
> >One additional problem are external references made *by* the function.
> >Those too would all have to be relocated to the live data.
> 
> Not sure what you mean ... could you give a quick example?

Think about stuff that any function does.  It calls other functions,
and manipulates global data, which all show up as external references
in the object code.  All those references would have to be patched to
refer to the live running copy of the original compilation unit.


- FChE

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]