aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDoug Smythies <[email protected]>2015-06-01 21:12:34 -0700
committerRafael J. Wysocki <[email protected]>2015-06-10 02:08:27 +0200
commit6c1e45917dec5e7c99ba8125fd8cc50f6e482a21 (patch)
treeee9a465fc93905b7e3a4a51604d18c33fca01f60 /tools/perf/scripts/python/event_analyzing_sample.py
parentf16255eb930173f386db0ce78ed41401aa8a94a6 (diff)
intel_pstate: Force setting target pstate when required
During initialization and exit it is possible that the target pstate might not actually be set. Furthermore, the result can be that the driver and the processor are out of synch and, under some conditions, the driver might never send the processor the proper target pstate. This patch adds a bypass or do_checks flag to the call to intel_pstate_set_pstate. If bypass, then specifically bypass clamp checks and the do not send if it is the same as last time check. If do_checks, then, and as before, do the current policy clamp checks, and do not do actual send if the new target is the same as the old. Signed-off-by: Doug Smythies <[email protected]> Reported-by: Marien Zwart <[email protected]> Reported-by: Alex Lochmann <[email protected]> Reported-by: Piotr Ko?aczkowski <[email protected]> Reported-by: Clemens Eisserer <[email protected]> Tested-by: Marien Zwart <[email protected]> Tested-by: Doug Smythies <[email protected]> [ rjw: Dropped pointless symbol definitions, rebased ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions