2019-09-05 16:34:54 +00:00
|
|
|
KERNEL_H = \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/acl.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/atomic.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/byteorder.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/callb.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/callo.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/cmn_err.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/condvar.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/console.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/cred.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/ctype.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/debug.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/disp.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/dkio.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/errno.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/fcntl.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/file.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/inttypes.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/isa_defs.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/kmem_cache.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/kmem.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/kobj.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/kstat.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/list.h \
|
2019-11-01 17:41:03 +00:00
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/mod_os.h \
|
2019-09-05 16:34:54 +00:00
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/mode.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/mutex.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/param.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/processor.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/proc.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/procfs_list.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/random.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/rwlock.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/shrinker.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/sid.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/signal.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/simd.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/stat.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/strings.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/sunddi.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/sysmacros.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/systeminfo.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/taskq.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/thread.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/time.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/timer.h \
|
2019-09-11 21:25:53 +00:00
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/trace.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 18:02:41 +00:00
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/trace_spl.h \
|
2019-09-05 16:34:54 +00:00
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/tsd.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/types32.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/types.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/uio.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/user.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/vfs.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/vmem.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/vmsystm.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/vnode.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/wait.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/zmod.h \
|
|
|
|
$(top_srcdir)/include/os/linux/spl/sys/zone.h
|
|
|
|
|
|
|
|
if CONFIG_KERNEL
|
|
|
|
kerneldir = @prefix@/src/zfs-$(VERSION)/include/spl/sys
|
|
|
|
kernel_HEADERS = $(KERNEL_H)
|
|
|
|
endif
|