Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4aa27647 authored by Neil Leeder's avatar Neil Leeder
Browse files

Perf: arm64: tracectr: initialize counts after hotplug



Due to the mismatch between counter values saved across CPU hotplug
by perf and tracecounter logic, incorrect values are calculated
for a cpu's first entry in trace buffer.

Ignore the first entry when CPU comes out of hotplug and set previous
counter values in this scenario.

Change-Id: I0a61943d14aa3bc96b50f7ed05e25c592be9aa35
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent e2e6bd4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment