diff options
author | Ross Williams <ross@ross-williams.net> | 2019-07-07 23:27:00 +0000 |
---|---|---|
committer | Ross Williams <ross@ross-williams.net> | 2019-07-07 23:10:54 -0400 |
commit | a88d2e313df7f5f2b781d5b14ffe0e7710018c10 (patch) | |
tree | 623e2c81c9335e37653c870f64190b2ed22cc365 /zfs/openzfs_sysctl.h | |
parent | fc8e9a2d3e25e35c0f9903baa345b1744b12b6cb (diff) |
Refactor common OpenZFS sysctl access
Darwin and FreeBSD export zfs kstats through the
same APIs, so moving functions into a common file.
Diffstat (limited to 'zfs/openzfs_sysctl.h')
-rw-r--r-- | zfs/openzfs_sysctl.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/zfs/openzfs_sysctl.h b/zfs/openzfs_sysctl.h new file mode 100644 index 00000000..7c04bd79 --- /dev/null +++ b/zfs/openzfs_sysctl.h @@ -0,0 +1,18 @@ +/* Do not edit this file. It was automatically generated. */ + +#ifndef HEADER_openzfs +#define HEADER_openzfs +/* +htop - zfs/openzfs_sysctl.h +(C) 2014 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ + +#include "zfs/ZfsArcStats.h" + +int openzfs_sysctl_init(); + +void openzfs_sysctl_updateArcStats(ZfsArcStats *stats); + +#endif |