Message ID | 20200326162007.25670-1-dsmythies@telus.net (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale | expand |
On Thu, Mar 26, 2020 at 5:20 PM Doug Smythies <doug.smythies@gmail.com> 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@telus.net> > --- > 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!
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()))
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@telus.net> --- tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 1 - 1 file changed, 1 deletion(-)