Skip to content
Snippets Groups Projects
  1. Oct 11, 2012
  2. Oct 08, 2012
    • Bruce Ashfield's avatar
      perf tools: Fix parallel build · bf73fc5f
      Bruce Ashfield authored
      
      1/2 [
      Author: Eric Sandeen
      Email: sandeen@redhat.com
      Subject: perf tools: Fix parallel build
      Date: Thu, 20 Sep 2012 21:31:44 -0500
      
      Parallel builds of perf were failing for me on a 32p box, with:
      
          * new build flags or prefix
      util/pmu.l:7:23: error: pmu-bison.h: No such file or directory
      
      ...
      
      make: *** [util/pmu-flex.o] Error 1
      make: *** Waiting for unfinished jobs....
      
      This can pretty quickly be seen by adding a sleep in front of the bison
      calls in tools/perf/Makefile and running make -j4 on a smaller box i.e.:
      
      	sleep 10; $(QUIET_BISON)$(BISON) -v util/pmu.y -d -o $(OUTPUT)util/pmu-bison.c
      
      Adding the following dependencies fixes it for me.
      
      Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
      Reviewed-by: default avatarNamhyung Kim <namhyung@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Link: http://lkml.kernel.org/r/505BD190.40707@redhat.com
      
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      ]
      
      2/2 [
      Author: Tom Zanussi
      Email: tom.zanussi@intel.com
      Subject: perf annotate: replace 'expand' with equivalent sed expression
      Date: Fri, 5 Oct 2012 11:35:26 -0500
      
      We don't have 'expand' in our userspace so we need to accomplish the
      same thing using 'sed', which we do have.
      
      Signed-off-by: default avatarTom Zanussi <tom.zanussi@intel.com>
      ]
      
      Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
      bf73fc5f
  3. Oct 06, 2012
  4. Oct 01, 2012
  5. Sep 24, 2012
  6. Sep 17, 2012
  7. Sep 14, 2012
  8. Sep 13, 2012
  9. Sep 11, 2012
  10. Sep 10, 2012
  11. Sep 09, 2012
  12. Sep 07, 2012
  13. Sep 06, 2012
  14. Sep 05, 2012
  15. Aug 27, 2012
  16. Aug 23, 2012
    • Bruce Ashfield's avatar
      perf: add SLANG_INC for slang.h · 99c41dad
      Bruce Ashfield authored
      
      1/1 [
      Author: Liang Li
      Email: liang.li@windriver.com
      Subject: perf: add SLANG_INC for slang.h
      Date: Wed, 22 Aug 2012 16:04:50 +0800
      
      CFLAGS was previously hard coded to contain "-I/usr/include/slang" to
      work with hosts that have "/usr/include/slang/slang.h" as well as hosts
      that have "/usr/include/slang.h". This path can cause compile warnings
      like:
      
      cc1: warning: '/usr/include/slang' doesn't exists.
      
      or
      
      cc1: warning: include location "/usr/include/slang" is unsafe for
      cross-compilation [-Wpoison-system-directories]
      
      Then in some cases warnings become errors if WERROR is enabled hence
      build errors.
      
      To fix this issue, we can use -idirafter to downgrade the priority of the
      default hard coded path. We can also make the slang include directory
      a variable, to allow the user to specify SLANG_INC and set their own
      include location. And add a '=' prefix to indicate better
      compatibility with sysroot/cross compile cases.
      
      Signed-off-by: default avatarLiang Li <liang.li@windriver.com>
      ]
      
      Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
      99c41dad
    • Bruce Ashfield's avatar
      unionfs: restore FD_* utility defines · aa65c7a5
      Bruce Ashfield authored
      
      1/1 [
      Author: Bruce Ashfield
      Email: bruce.ashfield@windriver.com
      Subject: unionfs: restore FD_* utility defines
      Date: Tue, 21 Aug 2012 22:14:49 -0400
      
      commit 27cd8f513 [posix_types.h: Cleanup stale __NFDBITS and related definition]
      removes the defintions for:
      
       #define NFDBITS                        __NFDBITS
      
       #define FD_SETSIZE             __FD_SETSIZE
       #define FD_SET(fd,fdsetp)      __FD_SET(fd,fdsetp)
       #define FD_CLR(fd,fdsetp)      __FD_CLR(fd,fdsetp)
       #define FD_ISSET(fd,fdsetp)    __FD_ISSET(fd,fdsetp)
       #define FD_ZERO(fdsetp)                __FD_ZERO(fdsetp)
      
      Which are still used by unionfs. We restore them to union.h for local use
      by unionfs until full replacements are found.
      
      Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
      ]
      
      Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
      aa65c7a5
  17. Aug 21, 2012
  18. Aug 17, 2012
    • Bruce Ashfield's avatar
      unionfs: update unionfs fork to align with mainline · dbbfff38
      Bruce Ashfield authored
      
      1/1 [
      Author: Liang Li
      Email: liang.li@windriver.com
      Subject: unionfs: update unionfs fork to align with mainline
      Date: Thu, 16 Aug 2012 21:25:01 +0800
      
      mainline commit 0145acc [vfs: uninline full_name_hash] changes the
      interface to full_name_hash, so unionfs fork must be updated.
      Otherwise unionfs might have the odd behavior that newly created
      directories/files in unionfs won't show up in underlying fs properly.
      
      This also implies that 0145acc fixes the corner issue/regression that
      introduced by mainline commit bfcfaa7 [vfs: use 'unsigned long'
      accesses for dcache name comparison and hashing] and e419b4c [vfs:
      make word-at-a-time accesses handle a non-existing page], that newly
      adopted fast hash function might have hash collision issue on x86.
      
      Signed-off-by: default avatarLiang Li <liang.li@windriver.com>
      ]
      
      Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
      dbbfff38
  19. Aug 15, 2012
Loading