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: SystemTap on 2.6.23-rc8-mm2


David Smith wrote:
Mike Mason wrote:
Just a heads up... I had to patch buildrun.cxx to get scripts to build on 2.6.23-rc8-mm2 (CFLAGS changed to KBUILD_CFLAGS, CPPFLAGS changed to KBUILD_CPPFLAGS). I've attached the patch below. I don't know when or if this change will go into Linus' kernel. I'm also not sure of the best way to ensure the correct CFLAGS are used in build_run.cxx (maybe check s.kernel_release?).

I've seen this also (and in fact I meant to check something in but got distracted by my other marker work). I believe my solution will be backwards compatible to 2.6.9 kernels - I've tested it on RHEL4 but I wanted to test f7 and RHEL5 to make sure I didn't break anything.

I tested this on RHEL4, RHEL5, and f7. It seemed to work correctly everywhere so I've checked my changes.


--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


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