summaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2020-09-23 16:43:51 -0700
committerGitHub <[email protected]>2020-09-23 16:43:51 -0700
commit7b8363d7f0ca85a2dde7473d6079147387f2f1fc (patch)
tree9a2c7e3cc8822be6b150e7de3c068e5d9e6793ae /lib/libzpool
parent3dad29fb4b085a159d26e2322dc07b46950ff72e (diff)
FreeBSD: Add support for procfs_list
The procfs_list interface is required by several kstats. Implement this functionality for FreeBSD to provide access to these kstats. Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #10890
Diffstat (limited to 'lib/libzpool')
-rw-r--r--lib/libzpool/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c
index 145b21d40..ca3578993 100644
--- a/lib/libzpool/kernel.c
+++ b/lib/libzpool/kernel.c
@@ -444,6 +444,7 @@ seq_printf(struct seq_file *m, const char *fmt, ...)
void
procfs_list_install(const char *module,
+ const char *submodule,
const char *name,
mode_t mode,
procfs_list_t *procfs_list,