probes — Probe APIs usable both inside and outside Simics.
import probes
Importing this package does not enable the Simics probes framework. Pure probe types and formatting utilities are always available. Runtime queries return empty results until enable-probes installs a backend. Simics-specific runtime APIs are exposed only when imported inside Simics.
class probes.CellFormatter(
max_lines=None,
key_col_width=None,
val_col_width=None,
total_width=None,
float_decimals=None,
ignore_column_widths=False,
value_column_properties=None,
histogram_options=None
)
Helper class for various format properties.
Helper Class for summary-probe formatting. Simply holds various formatting properties together, in one class object.
probes.get_all_probe_kinds()
Gets all registered probe-kinds in the system.
Returns all registered probe-kinds in the system. The probe-kind is the unique probe identifier, not including the objects associated with it.
probes.get_all_probes()
Gets all ProbeProxy instances.
Returns all Python ‘ProbeProxy’ objects that exists currently. These objects can be used to access the probe interfaces in a convenient way by using methods in them.
probes.get_probe_by_object(kind, obj)
Gets the ProbeProxy instance for an object .
Returns the ‘ProbeProxy’ Python object for a probe-kind in a specific conf object.
probes.get_probes(kind)
Gets hold of all ProbeProxy instances implementing a specific probe-kind.
Returns the Python ‘ProbeProxy’ objects, for probes matching the specific probe-kind. These objects can be used to access the probe interfaces in a convenient way by using methods in them.
probes.is_singleton(obj)
Check if the Simics object is a singleton object, currently only any of [sim, host]
Alias of probes.probes.register_probe.
Alias of probes.probes.register_probe_delete_cb.
Alias of probes.probes.unregister_probe_delete_cb.