Add pg_noinline macro to c.h.
authorAndres Freund <andres@anarazel.de>
Fri, 13 Oct 2017 18:44:51 +0000 (11:44 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 13 Oct 2017 19:16:06 +0000 (12:16 -0700)
commita0247e7a11bb9f5fd55694b594a3906b7bd05881
treebb517538405500988bdad171833e7804f2c8d52f
parentd133982d598c7e6208d16cb4fc0b552151796603
Add pg_noinline macro to c.h.

Forcing a function not to be inlined can be useful if it's the
slow-path of a performance critical function, or should be visible in
profiles to allow for proper cost attribution.

Author: Andres Freund
Discussion: https://postgr.es/m/20170914061207.zxotvyopetm7lrrp@alap3.anarazel.de
src/include/c.h