[RFC PATCH] scripts: add header bloat measuring script

2018-08-18 Thread Rasmus Villemoes
With a little cooperation from fixdep, we can rather easily quantify the header bloat phenomenon. While computing CONFIG_ dependencies, fixdep opens all the headers used by a given translation unit anyway, so it's rather cheap to have it record the number and total size of those in the generated

[RFC PATCH] scripts: add header bloat measuring script

2018-08-18 Thread Rasmus Villemoes
With a little cooperation from fixdep, we can rather easily quantify the header bloat phenomenon. While computing CONFIG_ dependencies, fixdep opens all the headers used by a given translation unit anyway, so it's rather cheap to have it record the number and total size of those in the generated