1. 06 9月, 2009 1 次提交
  2. 28 8月, 2009 1 次提交
  3. 22 8月, 2009 1 次提交
  4. 14 8月, 2009 1 次提交
  5. 01 8月, 2009 1 次提交
  6. 23 7月, 2009 1 次提交
  7. 17 7月, 2009 1 次提交
  8. 14 7月, 2009 1 次提交
  9. 13 7月, 2009 1 次提交
  10. 05 7月, 2009 1 次提交
  11. 27 6月, 2009 2 次提交
  12. 25 6月, 2009 1 次提交
  13. 19 6月, 2009 1 次提交
    • P
      gcov: add gcov profiling infrastructure · 2521f2c2
      Peter Oberparleiter 提交于
      Enable the use of GCC's coverage testing tool gcov [1] with the Linux
      kernel.  gcov may be useful for:
      
       * debugging (has this code been reached at all?)
       * test improvement (how do I change my test to cover these lines?)
       * minimizing kernel configurations (do I need this option if the
         associated code is never run?)
      
      The profiling patch incorporates the following changes:
      
       * change kbuild to include profiling flags
       * provide functions needed by profiling code
       * present profiling data as files in debugfs
      
      Note that on some architectures, enabling gcc's profiling option
      "-fprofile-arcs" for the entire kernel may trigger compile/link/
      run-time problems, some of which are caused by toolchain bugs and
      others which require adjustment of architecture code.
      
      For this reason profiling the entire kernel is initially restricted
      to those architectures for which it is known to work without changes.
      This restriction can be lifted once an architecture has been tested
      and found compatible with gcc's profiling. Profiling of single files
      or directories is still available on all platforms (see config help
      text).
      
      [1] http://gcc.gnu.org/onlinedocs/gcc/Gcov.htmlSigned-off-by: NPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Huang Ying <ying.huang@intel.com>
      Cc: Li Wei <W.Li@Sun.COM>
      Cc: Michael Ellerman <michaele@au1.ibm.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Heiko Carstens <heicars2@linux.vnet.ibm.com>
      Cc: Martin Schwidefsky <mschwid2@linux.vnet.ibm.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: WANG Cong <xiyou.wangcong@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2521f2c2
  14. 10 6月, 2009 2 次提交
    • L
      Linux 2.6.30 · 07a2039b
      Linus Torvalds 提交于
      07a2039b
    • C
      kbuild: remove extra ifdef/endif of top Makefile · b8b0618c
      Cheng Renquan 提交于
      The GNU make's origin function know undefined variable well,
      so the outer ifdef/endif conditional checking is unneeded.
      
      From `info make` documentation, origin will return
      
        `undefined'
           if VARIABLE was never defined.
        `command line'
           if VARIABLE was defined on the command line.
         ...
      
      Therefore, $(origin V) will get a value anyway, killing ifdef/endif is
      viable and safe.
      
      Furthermore, I've checked the minimal requirements from
      Documentation/Changes is GNU make 3.79.1, and that version of GNU make
      has support of origin function well already, so now it's safe to kill
      the outer conditional checking, without upgrading the minimal
      requirements.
      Signed-off-by: NCheng Renquan <crq@kernel.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      b8b0618c
  15. 05 6月, 2009 1 次提交
  16. 03 6月, 2009 1 次提交
  17. 24 5月, 2009 1 次提交
  18. 16 5月, 2009 1 次提交
  19. 09 5月, 2009 1 次提交
  20. 01 5月, 2009 2 次提交
  21. 30 4月, 2009 1 次提交
  22. 22 4月, 2009 1 次提交
  23. 19 4月, 2009 1 次提交
    • S
      kbuild: support include/generated · f14875a3
      Sam Ravnborg 提交于
      We need a location for generated files.
      Today they are spread over several places and bringing them
      together to a common place makes it obvious hat is generated
      and what isreal files.
      
      Al Viro originally suggested: include/gen
      Linus suggested to spell it out.
      
      This patch implement support for
      
          include/generated
      
      All files in include/generated are ignored by git.
      include/generated is removed during "make mrproper".
      
      With this we are ready to implement support for include/generated
      in the various architctures and in the base kernel.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Al Viro <viro@ZenIV.linux.org.uk>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      f14875a3
  24. 15 4月, 2009 1 次提交
  25. 11 4月, 2009 3 次提交
  26. 08 4月, 2009 1 次提交
  27. 24 3月, 2009 2 次提交
    • L
      Linux 2.6.29 · 8e0ee43b
      Linus Torvalds 提交于
      8e0ee43b
    • K
      Build with -fno-dwarf2-cfi-asm · 00308649
      Kyle McMartin 提交于
      With a sufficiently new compiler and binutils, code which wasn't
      previously generating .eh_frame sections has begun to.  Certain
      architectures (powerpc, in this case) may generate unexpected relocation
      formats in response to this, preventing modules from loading.
      
      While the new relocation types should probably be handled, revert to the
      previous behaviour with regards to generation of .eh_frame sections.
      
      (This was reported against Fedora, which appears to be the only distro
      doing any building against gcc-4.4 at present: RH bz#486545.)
      Signed-off-by: NKyle McMartin <kyle@redhat.com>
      Acked-by: NRoland McGrath <roland@redhat.com>
      Cc: Alexandre Oliva <aoliva@redhat.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      00308649
  28. 20 3月, 2009 2 次提交
  29. 13 3月, 2009 1 次提交
  30. 07 3月, 2009 2 次提交
    • G
      kbuild: remove unused -r option for module-init-tool depmod · 75bccd88
      Gilles Espinasse 提交于
      Following a thread on busybox mailing list
      depmod -r option is ignored by module-init-tools depmod
      -r option break busybox depmod.
      
      So the best solution look to remove -r from kernel Makefile
      Signed-off-by: NGilles Espinasse <g.esp@free.fr>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      75bccd88
    • J
      kbuild: fix 'make rpm' when CONFIG_LOCALVERSION_AUTO=y and using SCM tree · b925dbfe
      Josh Hunt 提交于
      Running 'make rpm' fails when CONFIG_LOCALVERSION_AUTO=y and using a kernel source
      tree under SCM.  This is due to KERNELRELEASE being different when the initial make
      is run and when make is run from rpmbuild.
      
      mkspec creates kernel.spec using KERNELRELEASE:
      
      <mkspec>
      echo "%files"
      echo '%defattr (-, root, root)'
      echo "%dir /lib/modules"
      echo "/lib/modules/$KERNELRELEASE"
      echo "/lib/firmware"
      echo "/boot/*"
      echo ""
      </mkspec>
      
      When CONFIG_LOCALVERSION_AUTO=y scripts/setlocalversion is called and grabs any
      additional version info from SCM.  Next, the srctree is tarred up and SCM
      information is excluded.
      
      rpmbuild reruns make and in the process generates a new include/config/kernel.release
      and thus a new KERNELRELEASE.  However this time the SCM information is gone so
      KERNELRELEASE no longer has the additional version information.  When "make modules_install"
      runs, it uses the new KERNELRELEASE value to determine where to install the modules.
      This conflicts with where the spec file assumes they are going because of the
      mis-matching KERNELRELEASE versions.
      
      <snippet>
      + INSTALL_MOD_PATH=/var/tmp/kernel-2.6.29rc4tip01479g5d85422-root
      + make -j16 modules_install
        INSTALL crypto/aead.ko
        INSTALL crypto/cbc.ko
        INSTALL crypto/chainiv.ko
        INSTALL crypto/crc32c.ko
        INSTALL crypto/crypto_algapi.ko
        INSTALL crypto/crypto_blkcipher.ko
        INSTALL crypto/crypto_hash.ko
        INSTALL crypto/cryptomgr.ko
        INSTALL crypto/ecb.ko
        INSTALL crypto/eseqiv.ko
        INSTALL crypto/krng.ko
        INSTALL crypto/md5.ko
        INSTALL crypto/pcbc.ko
        INSTALL crypto/rng.ko
        INSTALL drivers/block/cciss.ko
        INSTALL drivers/hid/hid-dummy.ko
        INSTALL drivers/scsi/iscsi_tcp.ko
        INSTALL drivers/scsi/libiscsi.ko
        INSTALL drivers/scsi/libiscsi_tcp.ko
        INSTALL drivers/scsi/scsi_transport_iscsi.ko
        INSTALL drivers/scsi/scsi_wait_scan.ko
        INSTALL fs/lockd/lockd.ko
        INSTALL fs/nfs/nfs.ko
        INSTALL fs/nfsd/nfsd.ko
        INSTALL lib/libcrc32c.ko
        INSTALL net/sunrpc/sunrpc.ko
        DEPMOD  2.6.29-rc4-tip
      + cp arch/x86/boot/bzImage
      /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/vmlinuz-2.6.29-rc4-tip-01479-g5d85422
      + cp System.map
      /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/System.map-2.6.29-rc4-tip-01479-g5d85422
      + cp .config
      /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/config-2.6.29-rc4-tip-01479-g5d85422
      + cp vmlinux vmlinux.orig
      + bzip2 -9 vmlinux
      + mv vmlinux.bz2
      /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/boot/vmlinux-2.6.29-rc4-tip-01479-g5d85422.bz2
      + mv vmlinux.orig vmlinux
      + /usr/lib/rpm/brp-compress
      Processing files: kernel-2.6.29rc4tip01479g5d85422-2
      error: File not found:
      /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/lib/modules/2.6.29-rc4-tip-01479-g5d85422
      
      RPM build errors:
          File not found:
      /var/tmp/kernel-2.6.29rc4tip01479g5d85422-root/lib/modules/2.6.29-rc4-tip-01479-g5d85422
      make[1]: *** [rpm] Error 1
      make: *** [rpm] Error 2
      </snippet>
      
      I have tested this patch on git -tip, Linus' git tree, and the kernel.org tar files, both
      with and without CONFIG_LOCALVERSION_AUTO=y.
      Signed-off-by: NJosh Hunt <josh@scalex86.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      ----
      b925dbfe
  31. 04 3月, 2009 1 次提交
  32. 23 2月, 2009 1 次提交