Changeset 30964


Ignore:
Timestamp:
2012-03-17T14:03:14+01:00 (6 years ago)
Author:
nbd
Message:

kernel: improve profiling support, keep static symbols when profiling is enabled

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/strip-kmod.sh

    r30762 r30964  
    1313 
    1414ARGS= 
    15 [ -n "$KEEP_SYMBOLS" ] || ARGS="-x -G __this_module --strip-unneeded" 
     15if [ -n "$KEEP_SYMBOLS" ]; then 
     16        ARGS="-X --strip-debug" 
     17else 
     18        ARGS="-x -G __this_module --strip-unneeded" 
     19fi 
    1620 
    1721${CROSS}objcopy \ 
  • trunk/target/linux/generic/patches-3.2/202-reduce_module_size.patch

    r30767 r30964  
    66 KBUILD_CFLAGS_MODULE  := -DMODULE 
    77-KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds 
    8 +KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds -s 
     8+KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s) 
    99  
    1010 # Read KERNELRELEASE from include/config/kernel.release (if it exists) 
  • trunk/target/linux/generic/patches-3.3/202-reduce_module_size.patch

    r30799 r30964  
    66 KBUILD_CFLAGS_MODULE  := -DMODULE 
    77-KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds 
    8 +KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds -s 
     8+KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s) 
    99  
    1010 # Read KERNELRELEASE from include/config/kernel.release (if it exists) 
Note: See TracChangeset for help on using the changeset viewer.