Tracer

Added in version 1.8.

class Tracer(**properties: Any)

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 to plugin.

Parameters:
  • plugin – A Plugin, or None for a static typefind function

  • name – The name for registering

  • type – GType of tracer to register

Properties

class Tracer
props.params: str

Fields

class Tracer
parent
priv