]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - include/sys/trace_dbgmsg.h
Imported Upstream version 0.6.5.3
[mirror_zfs-debian.git] / include / sys / trace_dbgmsg.h
index 24b34bcf3e65fa050356ce4e041d6bb30107c488..e493a45802ed8cb8646e0e51b6e384c8a9d608d3 100644 (file)
  * be guarded separately.
  */
 
-/*
- * Generic support for one argument tracepoints of the form:
- *
- * DTRACE_PROBE1(...,
- *     const char *, ...);
- */
-
-DECLARE_EVENT_CLASS(zfs_dbgmsg_class,
-       TP_PROTO(const char *msg),
-       TP_ARGS(msg),
-       TP_STRUCT__entry(
-           __string(msg, msg)
-       ),
-       TP_fast_assign(
-           __assign_str(msg, msg);
-       ),
-       TP_printk("%s", __get_str(msg))
-);
-
-#define        DEFINE_DBGMSG_EVENT(name) \
-DEFINE_EVENT(zfs_dbgmsg_class, name, \
-       TP_PROTO(const char *msg), \
-       TP_ARGS(msg))
-DEFINE_DBGMSG_EVENT(zfs_zfs__dbgmsg);
-
-
 /*
  * Generic support for four argument tracepoints of the form:
  *