Skip to content
Snippets Groups Projects
  1. Feb 06, 2014
    • Prarit Bhargava's avatar
      scripts/tags.sh: Ignore *.mod.c · ae63b2d7
      Prarit Bhargava authored
      
      CONFIG_MODVERSIONS=y results in a .mod.c for every compiled file in the
      kernel. Issuing a 'make cscope' on a compiled kernel tree results in
      the cscope files containing *.mod.c files.
      
      [prarit@prarit linux]# make cscope
      [prarit@prarit linux]# cat cscope.files | grep mod.c | wc -l
      4807
      
      These files are not useful for cscope and should be ignored. For example,
      
         #   line  filename / context / line
         1    105  arch/x86/kvm/kvm-intel.mod.c <<GLOBAL>>
                   { 0x618911fc, __VMLINUX_SYMBOL_STR(numa_node) },
         2    508  drivers/block/mtip32xx/mtip32xx.h <<GLOBAL>>
                   int numa_node;
         3     55  drivers/block/mtip32xx/mtip32xx.mod.c <<GLOBAL>>
                   { 0x618911fc, __VMLINUX_SYMBOL_STR(numa_node) },
         4     37  drivers/cpufreq/acpi-cpufreq.mod.c <<GLOBAL>>
                   { 0x618911fc, __VMLINUX_SYMBOL_STR(numa_node) },
         <snip>
      
      Add an export to RCS_FIND_IGNORE so it can be used in scripts/tags.sh
      and add explicitly ignore *.mod.c files.
      
      Signed-off-by: default avatarPrarit Bhargava <prarit@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Kirill Tkhai <tkhai@yandex.ru>
      Cc: Michael Opdenacker <michael.opdenacker@free-electrons.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      ae63b2d7
  2. Jan 28, 2014
  3. Jan 24, 2014
  4. Jan 17, 2014
  5. Jan 15, 2014
  6. Jan 08, 2014
  7. Jan 03, 2014
  8. Dec 20, 2013
  9. Dec 13, 2013
  10. Dec 10, 2013
  11. Dec 05, 2013
  12. Dec 02, 2013
  13. Nov 25, 2013
  14. Nov 22, 2013
  15. Nov 18, 2013
  16. Nov 13, 2013
Loading