1. 08 11月, 2014 1 次提交
    • V
      checkkconfigsymbols.sh: reimplementation in python · 24fe1f03
      Valentin Rothberg 提交于
      The scripts/checkkconfigsymbols.sh script searches Kconfig features
      in the source code that are not defined in Kconfig. Such identifiers
      always evaluate to false and are the source of various kinds of bugs.
      However, the shell script is slow and it does not detect such broken
      references in Kbuild and Kconfig files (e.g., ``depends on UNDEFINED´´).
      Furthermore, it generates false positives. The script is also hard to
      read and understand, and is thereby difficult to maintain.
      
      This patch replaces the shell script with an implementation in Python,
      which:
          (a) detects the same bugs, but does not report previous false positives
          (b) additionally detects broken references in Kconfig and all
              non-Kconfig files, such as Kbuild, .[cSh], .txt, .sh, defconfig, etc.
          (c) is up to 75 times faster than the shell script
          (d) only checks files under version control
      
      The new script reduces the runtime on my machine (i7-2620M, 8GB RAM, SSD)
      from 3m47s to 0m3s, and reports 938 broken references in Linux v3.17-rc1;
      419 additional reports of which 16 are located in Kconfig files,
      287 in defconfigs, 63 in ./Documentation, 1 in Kbuild.
      
      Moreover, we intentionally include references in comments, which have been
      ignored until now. Such comments may be leftovers of features that have
      been removed or renamed in Kconfig (e.g., ``#endif /* CONFIG_MPC52xx */´´).
      These references can be misleading and should be removed or replaced.
      
      Note that the output format changed from (file list <tab> feature) to
      (feature <tab> file list) as it simplifies the detection of the Kconfig
      feature for long file lists.
      Signed-off-by: NValentin Rothberg <valentinrothberg@gmail.com>
      Signed-off-by: NStefan Hengelein <stefan.hengelein@fau.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      24fe1f03
  2. 14 10月, 2014 13 次提交
  3. 09 10月, 2014 1 次提交
  4. 07 10月, 2014 1 次提交
  5. 03 10月, 2014 1 次提交
    • K
      aarch64: filter $x from kallsyms · 6c34f1f5
      Kyle McMartin 提交于
      Similar to ARM, AArch64 is generating $x and $d syms... which isn't
      terribly helpful when looking at %pF output and the like. Filter those
      out in kallsyms, modpost and when looking at module symbols.
      
      Seems simplest since none of these check EM_ARM anyway, to just add it
      to the strchr used, rather than trying to make things overly
      complicated.
      
      initcall_debug improves:
      dmesg_before.txt: initcall $x+0x0/0x154 [sg] returned 0 after 26331 usecs
      dmesg_after.txt: initcall init_sg+0x0/0x154 [sg] returned 0 after 15461 usecs
      Signed-off-by: NKyle McMartin <kyle@redhat.com>
      Acked-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      6c34f1f5
  6. 02 10月, 2014 2 次提交
  7. 26 9月, 2014 1 次提交
  8. 25 9月, 2014 1 次提交
  9. 23 9月, 2014 1 次提交
  10. 12 9月, 2014 1 次提交
  11. 11 9月, 2014 1 次提交
  12. 01 9月, 2014 1 次提交
  13. 30 8月, 2014 1 次提交
  14. 28 8月, 2014 1 次提交
  15. 27 8月, 2014 6 次提交
  16. 26 8月, 2014 1 次提交
  17. 24 8月, 2014 1 次提交
  18. 22 8月, 2014 2 次提交
  19. 20 8月, 2014 1 次提交
  20. 19 8月, 2014 2 次提交