2016-07-28 01:29:15 +03:00
|
|
|
SUBDIRS = dktp
|
2010-09-05 00:26:23 +04:00
|
|
|
|
|
|
|
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/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 \
|
2015-04-01 16:07:48 +03:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/policy.h \
|
2017-04-08 19:51:04 +03:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/poll.h \
|
2010-09-05 00:26:23 +04:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/priv.h \
|
|
|
|
$(top_srcdir)/lib/libspl/include/sys/processor.h \
|
2019-11-01 01:45:58 +03:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/sha2.h \
|
2019-09-05 19:34:54 +03:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/simd.h \
|
2010-09-05 00:26:23 +04:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/stack.h \
|
2018-02-16 04:53:18 +03:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/stdtypes.h \
|
|
|
|
$(top_srcdir)/lib/libspl/include/sys/strings.h \
|
2010-09-05 00:26:23 +04:00
|
|
|
$(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 \
|
Enable use of DTRACE_PROBE* macros in "spl" module
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
2019-10-30 21:02:41 +03:00
|
|
|
$(top_srcdir)/lib/libspl/include/sys/trace_spl.h \
|
|
|
|
$(top_srcdir)/lib/libspl/include/sys/trace_zfs.h \
|
2010-09-05 00:26:23 +04:00
|
|
|
$(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
|