Project

General

Profile

Feature #6303

support KSTAT_DATA_STRING in non-virtual named kstats

Added by Hans Rosenfeld over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
2015-10-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

It is currently not possible to have non-virtual named kstats containing long strings (KSTAT_DATA_STRING). It is relatively simple to change that by extending the read_kstat_data() function in the kstat module to handle long strings. The string data is copied into the user-supplied buffer following the kstat data and the pointers are updated.

Also available in: Atom PDF