[Mesa-dev] bloat-blame results for megadriver
Eric Anholt
eric at anholt.net
Tue Apr 22 16:24:53 PDT 2014
I was reading an article on LTO in firefox today, and it pointed to
https://github.com/wmanley/bloat-blame so I decided to try it on Mesa
(i965_dri.so in a release build). It looks like it's pointing at some
silly inlines we're doing that we can probably fix up to reduce the size
of our built library (s_texfilter.c:775 as an example).
Just a pointer in case someone's interested in looking into this.
anholt at eliezer:anholt/src/mesa-release% tail -n 50 bloat
2632 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.h:111
2638 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_fs.cpp:395
2647 /home/anholt/src/mesa-release/src/mesa/main/format_pack.c:70
2655 /home/anholt/src/mesa-release/src/mesa/swrast/s_triangle.c:253
2811 /home/anholt/src/mesa-release/src/mesa/../../src/gallium/auxiliary/util/u_format_r11g11b10f.h:125
2915 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_fs.h:188
2942 /home/anholt/src/mesa-release/src/glsl/../../src/glsl/builtin_functions.cpp:1231
2954 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i915/intel_batchbuffer.h:87
3058 /home/anholt/src/mesa-release/src/mesa/../../src/gallium/auxiliary/util/u_format_r11g11b10f.h:112
3108 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:147
3119 /home/anholt/src/mesa-release/src/glsl/ast.h:52
3162 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.h:90
3189 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/../../../../../src/glsl/list.h:277
3225 /home/anholt/src/mesa-release/src/mesa/swrast/s_texfilter.c:798
3227 /home/anholt/src/mesa-release/src/mesa/../../src/gallium/auxiliary/util/u_format_r11g11b10f.h:116
3228 /home/anholt/src/mesa-release/src/glsl/../../src/glsl/ir_builder.h:55
3239 /home/anholt/src/mesa-release/src/mesa/./main/imports.h:325
3269 /home/anholt/src/mesa-release/src/mesa/vbo/vbo_attrib_tmp.h:148
3335 /home/anholt/src/mesa-release/src/mesa/./main/context.h:311
3427 /home/anholt/src/mesa-release/src/glsl/glsl_parser_extras.h:104
3450 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/../../../../../src/glsl/list.h:278
3543 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:139
3758 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_reg.h:702
3800 /home/anholt/src/mesa-release/src/mesa/./main/macros.h:745
3813 /home/anholt/src/mesa-release/src/mesa/swrast/s_texfilter.c:775
3870 /home/anholt/src/mesa-release/src/mesa/./main/imports.h:324
4025 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:95
4056 /home/anholt/src/mesa-release/src/mesa/drivers/dri/nouveau/nouveau_local.h:29
4437 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.h:148
4572 /home/anholt/src/mesa-release/src/glsl/../../src/glsl/ir_builder.h:56
4601 /home/anholt/src/mesa-release/src/mesa/main/dlist.c:1068
5212 /home/anholt/src/mesa-release/src/mesa/./main/imports.h:322
5384 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_fs.h:145
5476 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:121
5638 /home/anholt/src/mesa-release/src/mesa/../../src/gallium/auxiliary/util/u_format_r11g11b10f.h:122
5801 /home/anholt/src/mesa-release/src/mesa/program/ir_to_mesa.cpp:391
5954 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:123
6841 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:130
7058 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:107
7191 /home/anholt/src/mesa-release/src/mesa/./main/imports.h:253
7556 /home/anholt/src/mesa-release/src/mesa/./main/imports.h:156
7898 /home/anholt/src/mesa-release/src/mesa/main/imports.h:253
8248 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.h:104
9299 /home/anholt/src/mesa-release/src/mesa/drivers/dri/nouveau/nouveau_local.h:36
14795 /home/anholt/src/mesa-release/src/mesa/drivers/dri/nouveau/nouveau_local.h:43
23218 /home/anholt/src/mesa-release/src/mesa/drivers/dri/i965/intel_batchbuffer.h:106
24881 /home/anholt/src/mesa-release/src/glsl/../../src/glsl/list.h:79
45371 :?
226963 xform4.o:?
35845145 ??:0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140422/bf856467/attachment.sig>
More information about the mesa-dev
mailing list