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
- classmethod register(plugin: Plugin | None, name: str, type: GType) bool#
Create a new tracer-factory capable of instantiating objects of the
typeand add the factory toplugin.- Parameters:
plugin – A
Plugin, orNonefor a static typefind functionname – The name for registering
type – GType of tracer to register