probe::json_data(3stap)

probe::json_data3stap

Fires whenever json data is wanted by a reader.

Usage

json_data 

Values

None

Context

This probe fires when the JSON data is about to be read. This probe must gather up data and then call the following macros to output the data in JSON format. First, json_output_data_start() must be called. That call is followed by one or more of the following (one call for each data item): json_output_string_value(), json_output_numeric_value(), json_output_array_string_value(), and json_output_array_numeric_value(). Finally json_output_data_end() must be called.

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.