aboutsummaryrefslogtreecommitdiff
tag nameperf-core-for-mingo-4.12-20170419 (9b28150c3941c11f293caa9837be854581122bff)
tag date2017-04-19 13:09:18 -0300
tagged byArnaldo Carvalho de Melo <acme@redhat.com>
tagged objectcommit 1b5ad16c7a...
perf/core cleanups: (Arnaldo Carvalho de Melo)
. Introduce new header files out of the hodge-podge that util/util.h became, trying to disentangle the includes hell that all C projects end up growing. This should help in build times, as changes to seemingly unrelated files (util.h included tons of headers) won't trigger a rebuild of most object files. . Use equivalent facilities found in the kernel source code base originated tools/include/ header files, such as __stringify(), ARRAY_SIZE, that has extra checks (__must_be_array()), etc. . For that get some more files from the kernel sources, like include/linux/bug.h, some just with the bits needed at this time. . Use the headers where facilities declared in them are used, such as PRIxu(32,64) macros (inttypes.h), errno defines (errno.h), etc. . Remove various leftovers from the initial code base we copied from git.git: FLEX_ARRAY, etc. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJY94vHAAoJENZQFvNTUqpApsQP/2CFwmLr+5ofbBFZtm3LmZuE tp+bVDCeS9+HIBd+hqyIQrvEQvXiGdX1Pv+X21IGzLBxNSKP3miAg4qeDOP14MZR uzMREAQlRmIlYAKI8ECb7tV1txT2qOr4hva+D8qzkFjKIu31w+xsJi/LUoos6rg8 SP67xEP4HX6nOnTKWM+gl55YjyPFa5WI6cWuYSTdgSJ0ts+gB1b9Dgc0L5NX29+H BQ+us802TjJo3sMDYE+3Mu701h6fc8EE2w0/iTxNMXFnOb6KfalyIYNI89okxjXf GXAZvbp10xnXYSYORDg0uA1RwiMhXXxBOn0+TWh8Vy3B9fmZnhxVVZPZVP/6UEgB kCXinKdAIIFO8c+m0K1VfN1F65dozKLaqD3SlOvqZ1yQi973WMG+I0H/Vpnc3mDe h8dRIJepKUrTjgtusBLN3T0oR5a1MFNYIf06gsCCfa0A6xYt8mzVr9hk2s0FsIRq 8h15jKNq/vlQQly2/MGP1/j2G5IQYuPKGXxlmUapoJuu3I6MLsudFpPEQRMlf8dm l1oeoXxfqKjXAJl4t0i9QCw8OnZCPu3W9tQ3BPb7e+Q8FsFVXGW/K2BClRHet4hX 0BbSfZmR+mEGTmzH0JBxT4jDa2F3Dp1w49GYh4yu2H83eGLlmUYoSHTipJ34KVjd 0sW9brMyxrw+/2KAAvn/ =W109 -----END PGP SIGNATURE-----