function::json_add_array.3stap - Man Page

Add an array

Synopsis

    json_add_array:long(name:string,description:string)

Arguments

name

The name of the array.

description

Array description. An empty string can be used.

Description

This function adds a array, setting up everything needed. Arrays contain other metrics, added with json_add_array_numeric_metric or json_add_array_string_metric.

See Also0

tapset::json(3stap)

Info

November 2023 SystemTap Tapset Reference JSON Tapset