support KSTAT_DATA_STRING in non-virtual named kstats
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.
Updated by Electric Monk almost 5 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit c0e96d867a045da50bf7e014cab94cb44528a0f5 Author: Hans Rosenfeld <email@example.com> Date: 2015-11-05T16:59:04.000Z 6303 support KSTAT_DATA_STRING in non-virtual named kstats Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org>