commit | 954248e1172757510da39857a3576afbb2352276 | [log] [tgz] |
---|---|---|
author | Sheetal Sahasrabudhe <sheetals@codeaurora.org> | Fri Feb 07 12:21:17 2014 -0500 |
committer | Sheetal Sahasrabudhe <sheetals@codeaurora.org> | Fri Feb 07 12:21:17 2014 -0500 |
tree | 0d26e9cdb9f706e483984985fb5875da8000cf17 | |
parent | ae629a7d7f0e1f4163fbb597d36ae40e5e1532e7 [diff] |
msm: perf: tracectr: Initialize cnts after hotplug Due to the mismatch between counter values saved across CPU hotplug by perf and tracecounter logic, incorrect values are calculated for 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: Ieeeaa301d713f338f11f6e84aeb984a3708e45fc Signed-off-by: Sheetal Sahasrabudhe <sheetals@codeaurora.org>