]> git.proxmox.com Git - mirror_zfs.git/commit - cmd/ztest/ztest.c
Avoid dladdr() in ztest
authorTim Chase <tim@chase2k.com>
Tue, 24 Feb 2015 18:53:31 +0000 (12:53 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 27 Feb 2015 21:54:15 +0000 (13:54 -0800)
commitfdc5d98253c60e45be7efe62ed428d4c2344e394
tree5c0ff0790092a6e33733bc35f3c43d7f2016d2b7
parent8bdcfb53966313e9ff747e3028390c207cfdbe9a
Avoid dladdr() in ztest

Under Linux, at least, dladdr() doesn't reliably work for functions which
aren't in a DSO.  Add the function name to ztest_info[].

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3130
cmd/ztest/ztest.c