MACRO::JSON_OUTPUT_S(3stap)
π MACRO::JSON_OUTPUT_S β the JSON Tapset glow-up β¨
okay bestie, pull up a chair because this one is a whole manual page and we're gonna read it together like it's a group chat π«Ά
πΈ NAME πΈ
macro::json_output_string_value β it outputs a string value. that's it, that's the job, and it does it beautifully π
π SYNOPSIS π
@json_output_string_value(name,value)
look at her. two args. no drama. iconic. π
π¦ ARGUMENTS π¦
nameβ the name of the string metric. like, which string metric are we talking about? that one. this is her name tag π·οΈvalueβ the string value you want to output. the actual content. the main character of the string metric situation π
β¨ DESCRIPTION β¨
so json_output_string_value is a macro, right? and she is designed to be called from the json_data probe in your script β yes, yours, bestie, you're the author here π«Ά β so that you can output a metric's string value. that's the whole point of her existence and honestly? she's serving.
π¨ important lore drop: this metric should have been added with json_add_string_metric. like, do that part first. she's not out here doing the adding for you, she's doing the outputting. order matters, no cap π§
π SEE ALSO π
tapset::json(3stap)β go read her too, she's the whole squad π
and that's the page!! this lil beauty comes from the SystemTap Tapset Reference, Ver β and the date on her birth certificate says September 2026 π β¨
stay slay, call your probes responsibly, and remember: add first, output second ππ¦π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms