zfs/include
Prakash Surya 56d40a686b Add callbacks for displaying KSTAT_TYPE_RAW kstats
The current implementation for displaying kstats of type KSTAT_TYPE_RAW
is rather crude. This patch attempts to enhance this handling by
allowing a kstat user to register formatting callbacks which can
optionally be used.

The callbacks allow the user to implement functions for interpreting
their data and transposing it into a character buffer. This buffer,
containing a string representation of the raw data, is then be displayed
through the current /proc textual interface.

Additionally the kstats are made writable because it's now possible
to provide a useful handler via the existing ks_update() interface.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #296
2013-10-16 14:48:35 -07:00
..
fs Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
linux Linux 3.10 compat: Do not rely on struct proc_dir_entry definition 2013-07-08 15:25:18 -07:00
rpc Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
sharefs Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
sys Add callbacks for displaying KSTAT_TYPE_RAW kstats 2013-10-16 14:48:35 -07:00
util Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
vm Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
Makefile.am Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
spl-ctl.h Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-debug.h Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-device.h Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-trace.h Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-ctl.h Refresh links to web site 2013-03-04 19:09:34 -08:00
strings.h Refresh links to web site 2013-03-04 19:09:34 -08:00
unistd.h Refresh links to web site 2013-03-04 19:09:34 -08:00