public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Mike Frysinger <vapier@gentoo.org>
Cc: ltp-list@lists.sourceforge.net, Jiri Palecek <jpalecek@web.de>
Subject: Re: [LTP] [PATCH] Add autoconf tests for taskstats members not	present?on older kernels
Date: Fri, 28 Aug 2009 18:02:11 +0200	[thread overview]
Message-ID: <20090828160210.GA7218@schrodinger.suse.cz> (raw)
In-Reply-To: <200908281144.24993.vapier@gentoo.org>

Hi!
> > > this patch adds autoconf checks for some build failures reported by Cyril
> > > Hrubis. Please note I have not tested this on an old kernel.
> > >
> > > Also, it corrects the names of the preprocessor macros defined by
> > > autoconf
> > >
> > > The remaining issue (the cgroupstats.h file) should be solved using the
> > > autoconf test that was committed recently.
> >
> > The autoconf part is okay, but getdelays.c needs some more #ifdef
> > HAVE_LINUX_CGROUPSTAT_H to build correctly on all I have here.
> >
> > Patch attached, however it may need minor cleanups.
> 
> preprocessor macros should never be intended

I allways forgot this one...

> can the test case pass at all if the linux headers are missing ?  if they 
> cant, there's no point in sprinkling #ifdef's throughout the code.  stub the 
> whole thing out.

As far as I see the cgroupstat code is activated only by -C switch, so it does
make sence spread #ifdefs around.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  parent reply	other threads:[~2009-08-28 16:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-28 15:24 [LTP] [PATCH] Add autoconf tests for taskstats members not present on older kernels Cyril Hrubis
     [not found] ` <200908281144.24993.vapier@gentoo.org>
2009-08-28 16:02   ` Cyril Hrubis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-08-31 11:51 Cyril Hrubis
     [not found] <200907071050.n67AooL6008612@e5.ny.us.ibm.com>
2009-07-07 15:32 ` Subrata Modak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090828160210.GA7218@schrodinger.suse.cz \
    --to=chrubis@suse.cz \
    --cc=jpalecek@web.de \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox