summaryrefslogtreecommitdiffstats
path: root/module/.gitignore
diff options
context:
space:
mode:
authorPrakash Surya <[email protected]>2013-09-12 16:14:51 -0700
committerBrian Behlendorf <[email protected]>2013-10-16 14:48:35 -0700
commit56d40a686b0504042a088943154ba7b0dde36d51 (patch)
tree5d6d397d8e310874592909a7c17b453bb375b52c /module/.gitignore
parent4768c0d0a61497f2f3a52678154f2742a355618f (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #296
Diffstat (limited to 'module/.gitignore')
0 files changed, 0 insertions, 0 deletions