aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2015-03-21 01:50:01 +0000
committerMichal Marek <[email protected]>2015-06-11 13:08:32 +0000
commit50ab9a69275dca588cb5ad5038657f069bbdeb56 (patch)
treeefbc69d993a916f8a38dd8d61bcc75eca4edcc97 /tools/perf/scripts/python/net_dropmonitor.py
parentscripts: link-vmlinux: Don't pass page offset to kallsyms if XIP Kernel (diff)
downloadkernel-50ab9a69275dca588cb5ad5038657f069bbdeb56.tar.gz
kernel-50ab9a69275dca588cb5ad5038657f069bbdeb56.zip
kbuild: include core debug info when DEBUG_INFO_REDUCED
With CONFIG_DEBUG_INFO_REDUCED, we do get quite a lot of debug info (around 22.7 MB for a defconfig+DEBUG_INFO_REDUCED). However, the "basenames must match" rule used by -femit-struct-debug-baseonly option means that we miss some core data structures, such as struct {device, file, inode, mm_struct, page} etc. We can easily get these included as well, while still getting the benefits of CONFIG_DEBUG_INFO_REDUCED (faster build times and smaller individual object files): All it takes is a dummy translation unit including a few strategic headers and compiled with a flag overriding -femit-struct-debug-baseonly. This increases the size of .debug_info by ~0.3%, but these 90 KB contain some rather useful info. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Michal Marek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions