probe::json_data(3stap) — Linux manual page

NAME | SYNOPSIS | VALUES | CONTEXT | SEE ALSO | COLOPHON

PROBE::JSON_DATA(3stap)        JSON Tapset       PROBE::JSON_DATA(3stap)

NAME         top

       probe::json_data - Fires whenever JSON data is wanted by a
       reader.

SYNOPSIS         top

       json_data

VALUES         top

       None

CONTEXT         top

       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 ALSO         top

       tapset::json(3stap)

COLOPHON         top

       This page is part of the systemtap (a tracing and live-system
       analysis tool) project.  Information about the project can be
       found at ⟨https://sourceware.org/systemtap/⟩.  If you have a bug
       report for this manual page, send it to [email protected].
       This page was obtained from the project's upstream Git repository
       ⟨git://sourceware.org/git/systemtap.git⟩ on 2024-06-14.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2024-06-13.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

SystemTap Tapset Reference     April 2024        PROBE::JSON_DATA(3stap)

Pages that refer to this page: tapset::json(3stap)