summaryrefslogtreecommitdiffstats
path: root/include/sys/zfs_debug.h
diff options
context:
space:
mode:
authorGeorge Melikov <[email protected]>2017-01-28 23:16:43 +0300
committerBrian Behlendorf <[email protected]>2017-01-28 12:16:43 -0800
commitfa603f823331a948038dd8e56113df36d7293932 (patch)
tree4bfb1a11005c1b22333a46467ee53c2595227d30 /include/sys/zfs_debug.h
parenta32494d22ac25c35c5d26eb0b2607ea68adb93cd (diff)
OpenZFS 7277 - zdb should be able to print zfs_dbgmsg's
Porting notes: - 'zfs_dbgmsg_print()' reintroduced to userspace. Authored by: Pavel Zakharov <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Igor Kozhukhov <[email protected]> Approved by: Dan McDonald <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Ported-by: George Melikov <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/7277 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/29bdd2f Closes #5684
Diffstat (limited to 'include/sys/zfs_debug.h')
-rw-r--r--include/sys/zfs_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zfs_debug.h b/include/sys/zfs_debug.h
index a2f61e5b2..b9b06a5ad 100644
--- a/include/sys/zfs_debug.h
+++ b/include/sys/zfs_debug.h
@@ -73,6 +73,7 @@ extern void zfs_dbgmsg_fini(void);
#ifndef _KERNEL
extern int dprintf_find_string(const char *string);
+extern void zfs_dbgmsg_print(const char *tag);
#endif
#ifdef __cplusplus