Tracer
Added in version 1.8.
Superclasses: Object
, InitiallyUnowned
, Object
Tracing modules will subclass Tracer
and register through
register()
. Modules can attach to various hook-types - see
tracing_register_hook()
. When invoked they receive hook specific
contextual data, which they must not modify.
Methods
- class Tracer
- register(plugin: Plugin | None, name: str, type: type) bool
Create a new tracer-factory capable of instantiating objects of the
type
and add the factory toplugin
.- Parameters:
plugin – A
Plugin
, orNone
for a static typefind functionname – The name for registering
type – GType of tracer to register