MACRO::JSON_OUTPUT_N(3stap)
π¦ MACRO::JSON_OUTPUT_N(3stap) β the JSON Tapset one π¦
okay bestie, sit down, we're learning about macro::json_output_numeric_value from the JSON Tapset and honestly? it's giving short-but-iconic π
β¨ NAME β¨
macro::json_output_numeric_value β literally just: output a numeric value. that's the whole job. no cap. π
β¨ SYNOPSIS β¨
@json_output_numeric_value(name,value)
look at her. two little args. living her best life. πΈ
β¨ ARGUMENTS β¨
nameβ the name of the numeric metric, like the little label that says who this number belongs to π·οΈvalueβ the numeric value you wanna output. the actual digits. the moment. the main character number π
β¨ DESCRIPTION β¨
so here's the vibe π«Ά β the json_output_numeric_value macro is designed to be called from the 'json_data' probe in the user's script, and its whole purpose is to output a metric's numeric value. that's it, that's the assignment, and she ate π
lowkey important though: this metric should have been added with json_add_numeric_metric first. you can't just show up to the group chat without being added, bestie. get her registered first, then output her. π
β¨ SEE ALSO β¨
tapset::json(3stap)β go read this one too, it's the mothership π
and that's the whole page, periodt β¨ stay slay, keep your metrics registered, and remember: numbers are only iconic when they're in the right probe π
SystemTap Tapset Reference, Ver β September 2026 π¦ mwah, ily, go write some tapsets π
π¦ 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