]> 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)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 15 Sep 2017 18:47:11 +0000 (11:47 -0700)
commit6384cf4132a39dd0ada7991d551554b718041da9
tree8f65452762d70bf012e5e01a76e73fdb398df5bd
parentd9ec8b9b2a3880a1a2b68e57a25833486c3b164d
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