1MACRO::JSON_OUTPUT_S(3stap) JSON Tapset MACRO::JSON_OUTPUT_S(3stap)
2
3
4
6 macro::json_output_string_value - Output a string value.
7
9 @json_output_string_value(name,value)
10
12 name
13 The name of the string metric.
14
15 value
16 The string value to output.
17
19 The json_output_string_value macro is designed to be called from the
20 'json_data' probe in the user's script to output a metric's string
21 value. This metric should have been added with json_add_string_metric.
22
24 tapset::json(3stap)
25
26
27
28SystemTap Tapset Reference May 2021 MACRO::JSON_OUTPUT_S(3stap)