Actions
Bug #11689
closed::refstr would be useful
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
http://smartos.org/bugview/OS-7931
refstr_t is annoying to deal with in MDB as you have to explicitly treat the string pointer separately:
> fffffe2739d24650::print proc_t p_ct_process->conp_svc_fmri->rs_string p_ct_process->conp_svc_fmri->rs_string = [ "s" ] > fffffe2739d24650::print proc_t p_ct_process->conp_svc_fmri->rs_string | /s 0xfffffe23855ec348: svc:/system/name-service-cache:default
Adding ::refstr makes this a little bit easier
Related issues
Updated by John Levon over 3 years ago
Tested that ::refstr behaved as expected with a variety of inputs
Updated by Electric Monk over 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit d13dc62b448d915b4713212ba004dc4fb0accde4
commit d13dc62b448d915b4713212ba004dc4fb0accde4 Author: John Levon <john.levon@joyent.com> Date: 2019-10-16T14:07:54.000Z 11689 ::refstr would be useful Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
Updated by Andy Fiddaman over 2 years ago
- Is duplicate of Feature #4702: would like ::refstr added
Actions