Re: Dynamically altering code segments

2001-02-28 Thread Jeremy Jackson
"Collins, Tom" wrote: > Hi... > > This is my first post, so if this is off topic for this list, please direct > me > to another one that is more appropriate. Thanks > > That said, I am wanting to dynamically modify the kernel in specific places > to > implement a custom kernel trace mechanism.

Re: Dynamically altering code segments

2001-02-27 Thread Karim Yaghmour
"Collins, Tom" wrote: [snip] > I have one more question: My trace code is currently > implemented as a kernel loadable module. Would I need > to change that so that it is built as part of the kernel, > or can I keep it as a loadable module? If I can keep it > as a module, I would ensure that t

RE: Dynamically altering code segments

2001-02-27 Thread Collins, Tom
PM To: Andreas Dilger Cc: Collins, Tom; [EMAIL PROTECTED] Subject: Re: Dynamically altering code segments Dprobes is one mechanism for doing what you want. It works the same way OS/2 dynamic trace did. Another mecnahism, also available from the dprobes web page is the GKHI (generalised kernel

Re: Dynamically altering code segments

2001-02-27 Thread richardj_moore
er <[EMAIL PROTECTED]> To: "Collins, Tom" <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED] Subject: Re: Dynamically altering code segments Tom Collins writes: > I am wanting to dynamically modify the kernel in specific places to > implement a custom kernel trace mechanism

Re: Dynamically altering code segments

2001-02-27 Thread Andreas Dilger
Tom Collins writes: > I am wanting to dynamically modify the kernel in specific places to > implement a custom kernel trace mechanism. The general idea is that, > when the "trace" is off, there are NOP instruction sequences at various > places in the kernel. When the "trace" is turned on, those

Dynamically altering code segments

2001-02-27 Thread Collins, Tom
Hi... This is my first post, so if this is off topic for this list, please direct me to another one that is more appropriate. Thanks That said, I am wanting to dynamically modify the kernel in specific places to implement a custom kernel trace mechanism. The general idea is that, when the "tra