]> granicus.if.org Git - zfs/commit
Make "-fno-inline" compile option more accessible
authorPrakash Surya <prakash.surya@delphix.com>
Fri, 15 Sep 2017 18:47:11 +0000 (11:47 -0700)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:10:36 +0000 (16:10 -0700)
commitf1236ebf35d1531db75ac8a57b23e8fe48d6b780
tree5bcfdb6ead62ee4f35cd57536ca343580208a3c0
parent184087f822ef178d6f5c155681ee7c3d90f23321
Make "-fno-inline" compile option more accessible

When functions are inlined, it can make the system much more difficult
to instrument using tools such as ftrace, BPF, crash, etc. Thus, to aid
development and increase the system's observability, when the
"--enable-debuginfo" flag is specified, the "-fno-inline" compilation
option will be used for both userspace and kernel modules.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Prakash Surya <prakash.surya@delphix.com>
Closes #6605
config/zfs-build.m4