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


On Thu, Oct 04, 2007 at 05:15:39PM -0400, Andy Gospodarek wrote:
> On Thu, Oct 04, 2007 at 05:10:51PM -0400, Martin Hunt wrote:
> > On Thu, 2007-10-04 at 16:29 -0400, Andy Gospodarek wrote:
> > > On Thu, Oct 04, 2007 at 03:07:00PM -0500, David Smith wrote:
> > > > 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.
> > > > 
> > > 
> > > Interestingly I just pulled the latest sources and tried against Dave
> > > Miller's net-2.6.24 tree and I'm getting the following errors:
> > > 
> > > WARNING: ignored message of type 5
> > 
> > You're the second person today to remind me that warning is still in
> > there.  I am working on a fix.  It only happens when a module is loaded
> > when a systemtap script is running.
> > 
> > Martin
> > 
> > 
> 
> Aside from the warning it doesn't actually print my message, so the
> probe isn't too helpful. ;-)

OK, nevermind.  I was looking at the wrong driver -- when I used one
that actually calls the function I'm probing it works.  Sorry for the
noise....



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