commit | bb3ac62b94d3b483827c5749a7398e704987e91f | [log] [tgz] |
---|---|---|
author | Rohit Gupta <rohgup@codeaurora.org> | Wed May 03 17:36:54 2017 -0700 |
committer | Rohit Gupta <rohgup@codeaurora.org> | Mon May 15 16:30:42 2017 -0700 |
tree | 0e6755a138ce89ac38c25dfd09d67315d2dd67bb | |
parent | 492b05c774af909341fcc25f794c78a69f4c0cbb [diff] |
PM / devfreq: memlat: Move per-CPU stats inside device nodes Currently each memlat monitor stores details such as previous sample timestamp and perf counts in per-CPU structures. This can result in multiple monitors overwriting each others' data. Move these stats within per device structures so that each of the monitors have exclusive access to them. Change-Id: I0a60e95eebd72f0e602cbf9cba05380324b75b3f Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>