FROMLIST: psi: track changed states
authorSuren Baghdasaryan <surenb@google.com>
Wed, 6 Mar 2019 18:25:50 +0000 (10:25 -0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:37:07 +0000 (17:37 +0800)
commit96fc84e64c09c0b617ec66ec29b662965beb9359
tree9435dafe5b9c332aff8c4d9b2a62c21f29881b53
parent7ddaf6a7b0a5fdc82827d2ac9130901bb1d923f6
FROMLIST: psi: track changed states

Introduce changed_states parameter into collect_percpu_times to track
the states changed since the last update.

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
(not upstream yet, latest version published at: https://lore.kernel.org/patchwork/patch/1052420/)

Bug: 127712811
Bug: 129157727
Test: lmkd in PSI mode
Change-Id: Idb2f7d73013bff16bb101b62a2609917a5353bf9
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
kernel/sched/psi.c