diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-07-12 12:22:44 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:07:09 +0200 |
| commit | b45ef79dc3e78cd0856a7e69f9d6e42344e78af5 (patch) | |
| tree | 94541fcd9d79bf1d460824a45c36265ccd6a725e /tools/perf/scripts/python/stackcollapse.py | |
| parent | a2186f729d694c7d510d175ec59dd7b6298641d6 (diff) | |
rtc: fix alarm read and set offset
[ Upstream commit fd6792bb022e43faa0c4a45b6f25285e21206f9d ]
The offset needs to be added after reading the alarm value.
It also needs to be subtracted after the now < alarm test.
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
