mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
e5d1c27e30
This change modifies some of the infrastructure for enabling the use of the DTRACE_PROBE* macros, such that we can use tehm in the "spl" module. Currently, when the DTRACE_PROBE* macros are used, they get expanded to create new functions, and these dynamically generated functions become part of the "zfs" module. Since the "spl" module does not depend on the "zfs" module, the use of DTRACE_PROBE* in the "spl" module would result in undefined symbols being used in the "spl" module. Specifically, DTRACE_PROBE* would turn into a function call, and the function being called would be a symbol only contained in the "zfs" module; which results in a linker and/or runtime error. Thus, this change adds the necessary logic to the "spl" module, to mirror the tracing functionality available to the "zfs" module. After this change, we'll have a "trace_zfs.h" header file which defines the probes available only to the "zfs" module, and a "trace_spl.h" header file which defines the probes available only to the "spl" module. Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Prakash Surya <prakash.surya@delphix.com> Closes #9525
48 lines
2.1 KiB
Makefile
48 lines
2.1 KiB
Makefile
SUBDIRS = dktp
|
|
|
|
libspldir = $(includedir)/libspl/sys
|
|
libspl_HEADERS = \
|
|
$(top_srcdir)/lib/libspl/include/sys/acl.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/acl_impl.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/bitmap.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/callb.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/cmn_err.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/cred.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/debug.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/dkio.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/dklabel.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/feature_tests.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/int_limits.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/int_types.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/inttypes.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/isa_defs.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/kmem.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/kstat.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/list.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/list_impl.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/mhd.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/mkdev.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/policy.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/poll.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/priv.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/processor.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/sha2.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/simd.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/stack.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/stdtypes.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/strings.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/stropts.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/sunddi.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/systeminfo.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/time.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/trace_spl.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/trace_zfs.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/types32.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/types.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/tzfile.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/va_list.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/varargs.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/vnode.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/vtoc.h \
|
|
$(top_srcdir)/lib/libspl/include/sys/zone.h
|