Skip to content
Commit 31f5aeb3 authored by Dietmar Eggemann's avatar Dietmar Eggemann Committed by Morten Rasmussen
Browse files

sched/events: Introduce sched entity PELT trace event sched_pelt_se()



The trace event is only defined if symmetric multi-processing
(CONFIG_SMP) is enabled.
To let this trace event work for configurations with and without group
scheduling support for SCHED_OTHER (CONFIG_FAIR_GROUP_SCHED) the
following special handling is necessary for non-existent key=value
pairs:

id = -1      : In case sched entity is representing a task
             : In case CONFIG_FAIR_GROUP_SCHED is not set

pid = -1     : In case sched entity is representing a task group

comm = "n/a" : In case sched entity is representing a task group

Signed-off-by: Dietmar Eggemann's avatarDietmar Eggemann <dietmar.eggemann@arm.com>
parent 1c61904c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment