]> git.proxmox.com Git - mirror_zfs.git/commit
8659 static dtrace probes unavailable on non-GPL modules
authorBrad Lewis <brad.lewis@delphix.com>
Mon, 8 Jul 2019 18:20:53 +0000 (12:20 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 8 Jul 2019 18:20:53 +0000 (11:20 -0700)
commitcb709642216b5ac9be10039471c3c4bc27cb7cf2
tree9bad20f8aafa6d1a53773ef9758614b6135f4f31
parent1086f54219ebcdebf05b8f6bd10142c43c1f4f3f
8659 static dtrace probes unavailable on non-GPL modules

ZFS tracing efforts are hampered by the inability to access zfs static
probes(probes using DTRACE_PROBE macros). The probes are available via
tracepoints for GPL modules only.  The build could be modified to
generate a function for each unique DTRACE_PROBE invocation. These could
be then accessed via kprobes.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Signed-off-by: Brad Lewis <brad.lewis@delphix.com>
Closes #8659
Closes #8663
18 files changed:
include/spl/sys/sysmacros.h
include/sys/Makefile.am
include/sys/trace.h
include/sys/trace_acl.h
include/sys/trace_arc.h
include/sys/trace_dbgmsg.h
include/sys/trace_dbuf.h
include/sys/trace_dmu.h
include/sys/trace_dnode.h
include/sys/trace_multilist.h
include/sys/trace_rrwlock.h [new file with mode: 0644]
include/sys/trace_txg.h
include/sys/trace_vdev.h
include/sys/trace_zil.h
include/sys/trace_zio.h
include/sys/trace_zrlock.h
module/zfs/rrwlock.c
module/zfs/trace.c