lisa.datautils.SignalDesc#

class lisa.datautils.SignalDesc(event, fields)[source]#

Bases: object

Define a signal to be used by various signal-oriented APIs.

Parameters:
  • event (str) – Name of the event that this signal is represented by.

  • fields (list(str)) – Fields that identify multiple signals multiplexed into one event. For example, a frequency signal would have a cpu_frequency event and a cpu field since cpu_frequency multiplexes the signals for all CPUs.

Methods#

classmethod SignalDesc.from_event(*args, **kwargs)[source]#

Deprecated since version 3.0.

from_event() is deprecated and will be removed in version 4.0: No new signals will be added to this list, use explicit signal description where appropriate in the Trace API