Commit b0f89bbf authored by sandreim's avatar sandreim Committed by GitHub
Browse files

Per subsystem CPU usage tracking (#4239)



* SubsystemContext: add subsystem name str

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Overseer builder proc macro changes

* initilize SubsystemContext name field.
* Add subsystem name in TaskKind::launch_task()

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Update ToOverseer enum

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Assign subsystem names to orphan tasks

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* cargo fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* SubsystemContext: add subsystem name str

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Overseer builder proc macro changes

* initilize SubsystemContext name field.
* Add subsystem name in TaskKind::launch_task()

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Update ToOverseer enum

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Assign subsystem names to orphan tasks

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* cargo fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Rebase changes for new spawn() group param

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Add subsystem constat in JobTrait

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Add subsystem string

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix spawn() calls

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* cargo fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix more tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Address PR review feedback #1

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Address PR review round 2

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fixes
- remove JobTrait::Subsystem
- fix tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* update Cargo.lock

Co-authored-by: default avatarAndronik Ordian <[email protected]>
parent 9d5724f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment