diff options
| author | Arun KS <arunks@codeaurora.org> | 2016-03-11 15:25:40 +0530 |
|---|---|---|
| committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-04-05 11:32:54 -0700 |
| commit | 2236ba03ce796358c18f731d6d0c8b8543ac6e67 (patch) | |
| tree | 94a9a013c5af62a5611cfe79e56d740d6bf107e9 /tools/perf/scripts/python | |
| parent | e92d423b46434c90d4cb50f9e225829c2b77fd80 (diff) | |
cpufreq_stats: Disable cpu hotplug during stats table creation
During boot there is a possibility for two execution context to create
stats percpu variable concurrently. One called from cpufreq_stats_init
context and other as a part of policy notifier call back. This will
result in corrupted stats variable.
Disable cpu hotplug to avoid corruption.
Change-Id: Iefe2d6b370f6ec303286afc139fa9913fa9a4099
Suggested-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Arun KS <arunks@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
