This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: dynamically replace the buggy function in kernel
- From: Martin Hunt <hunt at redhat dot com>
- To: "Zhang, Yanmin" <yanmin dot zhang at intel dot com>
- Cc: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>, "Keshavamurthy, Anil S" <anil dot s dot keshavamurthy at intel dot com>, "Mao, Bibo" <bibo dot mao at intel dot com>
- Date: Wed, 23 Nov 2005 01:34:13 -0800
- Subject: Re: dynamically replace the buggy function in kernel
- Organization: Red Hat Inc
- References: <8126E4F969BA254AB43EA03C59F44E8403F4517D@pdsmsx404>
On Wed, 2005-11-23 at 11:25 +0800, Zhang, Yanmin wrote:
> Hi,
>
> I have an idea. We could find buggy functions in kernel and want to
> replace them dynamically.
This is commonly called hot-patching or live patching. It is not one on
the goals of systemtap, but it would be possible to modify kprobes or
jprobes to do what you suggest. We have discussed it. And is has been
discussed on the lkml (http://lkml.org/lkml/2005/4/23/35).
Martin