This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC] [PATCH] To make systemtap work on 2.6.24-rc4-mm1
- From: Masami Hiramatsu <mhiramat at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: Srinivasa Ds <srinivasa at in dot ibm dot com>, SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 11 Dec 2007 10:34:18 -0500
- Subject: Re: [RFC] [PATCH] To make systemtap work on 2.6.24-rc4-mm1
- References: <475E5B32.90408@in.ibm.com> <y0m3au9z30q.fsf@ton.toronto.redhat.com>
Hi Srinivasa,
Frank Ch. Eigler wrote:
> Srinivasa Ds <srinivasa@in.ibm.com> writes:
>
>> I was testing Masami's kprobes patch on x86_64. I found that some
>> changes in vfs and Roland's fix (those are present in -mm1) have
>> made systemtap not to work on -mm1. [...] I have developed the
>> patch, which fixes this issue. [...]
>
> In order to retain backward compatibility with older kernels, the code
> would need to have #if KERNEL_VERSION conditionals to retain the old
> ones too.
That patch is for -mm tree, so we can't use KERNEL_VERSION.
Instead of that, I recommend using autoconf.
>
> - FChE
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com, masami.hiramatsu.pt@hitachi.com