DOKK / manpages / debian 12 / systemtap-doc / macro::json_output_string_value.3stap.en
MACRO::JSON_OUTPUT_S(3stap) JSON Tapset MACRO::JSON_OUTPUT_S(3stap)

macro::json_output_string_value - Output a string value.


@json_output_string_value(name,value)

name

The name of the string metric.

value

The string value to output.

The json_output_string_value macro is designed to be called from the 'json_data' probe in the user's script to output a metric's string value. This metric should have been added with json_add_string_metric.

tapset::json(3stap)

November 2022 SystemTap Tapset Reference