Re: [PATCH] tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale

From: Rafael J. Wysocki
Date: Thu Mar 26 2020 - 15:18:42 EST


On Thu, Mar 26, 2020 at 5:20 PM Doug Smythies <doug.smythies@xxxxxxxxx> wrote:
>
> A fixed y-axis scale was missed during a change to autoscale.
> Correct it.
>
> Fixes: 709bd70d070ee6d775c6e77e40e8444bd5fa123f
> "tools/power/x86/intel_pstate_tracer: change several graphs to autoscale y-axis"
>
> Signed-off-by: Doug Smythies <dsmythies@xxxxxxxxx>
> ---
> tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py b/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
> index 256199c7a182..3c47865bb247 100755
> --- a/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
> +++ b/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
> @@ -235,7 +235,6 @@ def plot_duration_cpu():
> output_png = 'all_cpu_durations.png'
> g_plot = common_all_gnuplot_settings(output_png)
> # autoscale this one, no set y range
> - g_plot('set ytics 0, 500')
> g_plot('set ylabel "Timer Duration (MilliSeconds)"')
> g_plot('set title "{} : cpu durations : {:%F %H:%M}"'.format(testname, datetime.now()))
>
> --

Applied as 5.7 material, thanks!