FROMLIST: psi: track changed states
authorSuren Baghdasaryan <surenb@google.com>
Wed, 6 Mar 2019 18:25:50 +0000 (10:25 -0800)
committerwangwang <wangwang1@lenovo.com>
Wed, 13 Nov 2019 02:38:23 +0000 (10:38 +0800)
commit4fa74cbd6d23955c6c6f6c10da2fd9e270fc29de
tree979923ea78ba33270ddea31744a6df833c6c0d5b
parent8f13f352cf662853fdfe5a5c08764d14782d1dac
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