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)
commit3eef2b5c53bd5e2dd173d408cb416a689004c507
tree9435dafe5b9c332aff8c4d9b2a62c21f29881b53
parent45cc6c8125b5c8830e79752be910942a2c3419ad
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