macro::json_output_string_value(3stap)

macro::json_output_string_value3stap

Output a string value.

Usage

    @json_output_string_value(name,value)

Arguments

name

The name of the string metric.

value

The string value to output.

Overview

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.

See ALSO0

tapset::json(3stap)

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.