lisa.analysis.tasks.TaskID#

class lisa.analysis.tasks.TaskID(pid: int | None, comm: str | None)[source]#

Bases: tuple

Unique identifier of a logical task in a lisa.trace.Trace.

Parameters:
  • pid (int) – PID of the task. None indicates the PID is not important.

  • comm (str) – Name of the task. None indicates the name is not important. This is useful to describe tasks like PID0, which can have multiple names associated.

Unique identifier of a logical task in a lisa.trace.Trace.

Parameters:
  • pid (int) – PID of the task. None indicates the PID is not important.

  • comm (str) – Name of the task. None indicates the name is not important. This is useful to describe tasks like PID0, which can have multiple names associated.

Attributes

__match_args__

comm

Alias for field number 1.

pid

Alias for field number 0.

Methods

__new__()

Create new instance of _TaskID(pid, comm).

Attributes#

TaskID.__match_args__ = ('pid', 'comm')#
TaskID.comm: str | None#

Alias for field number 1

TaskID.pid: int | None#

Alias for field number 0

Methods#

static TaskID.__new__(_cls, pid: int | None, comm: str | None)#

Create new instance of _TaskID(pid, comm)