mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
doc: Add tracer objects information
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8086>
This commit is contained in:
parent
00eac85e58
commit
9d9d5a6c5b
2 changed files with 164 additions and 7 deletions
|
@ -954,7 +954,14 @@ main (int argc, char *argv[])
|
||||||
if (GST_IS_TRACER_FACTORY (feature)) {
|
if (GST_IS_TRACER_FACTORY (feature)) {
|
||||||
if (!f)
|
if (!f)
|
||||||
g_string_append_printf (json, ",");
|
g_string_append_printf (json, ",");
|
||||||
g_string_append_printf (json, "\"%s\": {}", GST_OBJECT_NAME (feature));
|
|
||||||
|
GstTracer *tracer =
|
||||||
|
g_object_new (gst_tracer_factory_get_tracer_type (GST_TRACER_FACTORY
|
||||||
|
(feature)), NULL);;
|
||||||
|
g_string_append_printf (json, "\"%s\": {", GST_OBJECT_NAME (feature));
|
||||||
|
_add_object_details (json, other_types, seen_other_types,
|
||||||
|
G_OBJECT (tracer), G_OBJECT_TYPE (tracer), G_OBJECT_TYPE (tracer));
|
||||||
|
g_string_append (json, "}");
|
||||||
f = FALSE;
|
f = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2936,12 +2936,162 @@
|
||||||
"package": "GStreamer",
|
"package": "GStreamer",
|
||||||
"source": "gstreamer",
|
"source": "gstreamer",
|
||||||
"tracers": {
|
"tracers": {
|
||||||
"factories": {},
|
"factories": {
|
||||||
"latency": {},
|
"hierarchy": [
|
||||||
"leaks": {},
|
"GstFactoriesTracer",
|
||||||
"log": {},
|
"GstTracer",
|
||||||
"rusage": {},
|
"GstObject",
|
||||||
"stats": {}
|
"GInitiallyUnowned",
|
||||||
|
"GObject"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"latency": {
|
||||||
|
"hierarchy": [
|
||||||
|
"GstLatencyTracer",
|
||||||
|
"GstTracer",
|
||||||
|
"GstObject",
|
||||||
|
"GInitiallyUnowned",
|
||||||
|
"GObject"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"flags": {
|
||||||
|
"blurb": "Flags to control what latency measurements to perform",
|
||||||
|
"conditionally-available": false,
|
||||||
|
"construct": false,
|
||||||
|
"construct-only": true,
|
||||||
|
"controllable": false,
|
||||||
|
"default": "pipeline",
|
||||||
|
"mutable": "null",
|
||||||
|
"readable": true,
|
||||||
|
"type": "GstLatencyTracerFlags",
|
||||||
|
"writable": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"leaks": {
|
||||||
|
"hierarchy": [
|
||||||
|
"GstLeaksTracer",
|
||||||
|
"GstTracer",
|
||||||
|
"GstObject",
|
||||||
|
"GInitiallyUnowned",
|
||||||
|
"GObject"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"check-refs": {
|
||||||
|
"blurb": "Whether to track ref/unref operations",
|
||||||
|
"conditionally-available": false,
|
||||||
|
"construct": false,
|
||||||
|
"construct-only": true,
|
||||||
|
"controllable": false,
|
||||||
|
"default": "false",
|
||||||
|
"mutable": "null",
|
||||||
|
"readable": true,
|
||||||
|
"type": "gboolean",
|
||||||
|
"writable": true
|
||||||
|
},
|
||||||
|
"filters": {
|
||||||
|
"blurb": "Comma-separated list of GObject types to track",
|
||||||
|
"conditionally-available": false,
|
||||||
|
"construct": false,
|
||||||
|
"construct-only": true,
|
||||||
|
"controllable": false,
|
||||||
|
"default": "",
|
||||||
|
"mutable": "null",
|
||||||
|
"readable": true,
|
||||||
|
"type": "gchararray",
|
||||||
|
"writable": true
|
||||||
|
},
|
||||||
|
"log-leaks-on-deinit": {
|
||||||
|
"blurb": "Whether to log leaks on shutdown",
|
||||||
|
"conditionally-available": false,
|
||||||
|
"construct": false,
|
||||||
|
"construct-only": true,
|
||||||
|
"controllable": false,
|
||||||
|
"default": "true",
|
||||||
|
"mutable": "null",
|
||||||
|
"readable": true,
|
||||||
|
"type": "gboolean",
|
||||||
|
"writable": true
|
||||||
|
},
|
||||||
|
"stack-traces-flags": {
|
||||||
|
"blurb": "Stack trace collection mode",
|
||||||
|
"conditionally-available": false,
|
||||||
|
"construct": false,
|
||||||
|
"construct-only": true,
|
||||||
|
"controllable": false,
|
||||||
|
"default": "disabled",
|
||||||
|
"mutable": "null",
|
||||||
|
"readable": true,
|
||||||
|
"type": "GstLeaksStackTraceFlags",
|
||||||
|
"writable": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"signals": {
|
||||||
|
"activity-get-checkpoint": {
|
||||||
|
"action": true,
|
||||||
|
"args": [],
|
||||||
|
"return-type": "GstStructure",
|
||||||
|
"when": "last"
|
||||||
|
},
|
||||||
|
"activity-log-checkpoint": {
|
||||||
|
"action": true,
|
||||||
|
"args": [],
|
||||||
|
"return-type": "void",
|
||||||
|
"when": "last"
|
||||||
|
},
|
||||||
|
"activity-start-tracking": {
|
||||||
|
"action": true,
|
||||||
|
"args": [],
|
||||||
|
"return-type": "void",
|
||||||
|
"when": "last"
|
||||||
|
},
|
||||||
|
"activity-stop-tracking": {
|
||||||
|
"action": true,
|
||||||
|
"args": [],
|
||||||
|
"return-type": "void",
|
||||||
|
"when": "last"
|
||||||
|
},
|
||||||
|
"get-live-objects": {
|
||||||
|
"action": true,
|
||||||
|
"args": [],
|
||||||
|
"return-type": "GstStructure",
|
||||||
|
"when": "last"
|
||||||
|
},
|
||||||
|
"log-live-objects": {
|
||||||
|
"action": true,
|
||||||
|
"args": [],
|
||||||
|
"return-type": "void",
|
||||||
|
"when": "last"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"log": {
|
||||||
|
"hierarchy": [
|
||||||
|
"GstLogTracer",
|
||||||
|
"GstTracer",
|
||||||
|
"GstObject",
|
||||||
|
"GInitiallyUnowned",
|
||||||
|
"GObject"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"rusage": {
|
||||||
|
"hierarchy": [
|
||||||
|
"GstRUsageTracer",
|
||||||
|
"GstTracer",
|
||||||
|
"GstObject",
|
||||||
|
"GInitiallyUnowned",
|
||||||
|
"GObject"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"stats": {
|
||||||
|
"hierarchy": [
|
||||||
|
"GstStatsTracer",
|
||||||
|
"GstTracer",
|
||||||
|
"GstObject",
|
||||||
|
"GInitiallyUnowned",
|
||||||
|
"GObject"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"url": "Unknown package origin"
|
"url": "Unknown package origin"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue