aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2020-10-13 10:42:47 +0530
committerRafael J. Wysocki <[email protected]>2020-10-16 16:19:08 +0200
commit97148d0ae5303bcc18fcd1c9b968a9485292f32a (patch)
tree749dbbd533ec789ebf2a48e6dcdf78c2aa7e8fed /tools/perf/scripts/python/exported-sql-viewer.py
parent0b8417c14181595997091145342954332fa016cd (diff)
cpufreq: Improve code around unlisted freq check
The cpufreq core checks if the frequency programmed by the bootloaders is not listed in the freq table and programs one from the table in such a case. This is done only if the driver has set the CPUFREQ_NEED_INITIAL_FREQ_CHECK flag. Currently we print two separate messages, with almost the same content, and do this with a pr_warn() which may be a bit too much as the driver only asked us to check this as it expected this to be the case. Lower down the severity of the print message by switching to pr_info() instead and print a single message only. Reported-by: Sumit Gupta <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Reviewed-by: Sumit Gupta <[email protected]> Tested-by: Sumit Gupta <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions