linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale
@ 2020-03-26 16:20 Doug Smythies
  2020-03-26 19:10 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Smythies @ 2020-03-26 16:20 UTC (permalink / raw)
  To: dsmythies, srinivas.pandruvada, rjw, len.brown; +Cc: linux-kernel, linux-pm

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()))
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale
  2020-03-26 16:20 [PATCH] tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale Doug Smythies
@ 2020-03-26 19:10 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2020-03-26 19:10 UTC (permalink / raw)
  To: Doug Smythies
  Cc: Doug Smythies, Srinivas Pandruvada, Rafael J. Wysocki, Len Brown,
	Linux Kernel Mailing List, Linux PM

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-26 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 16:20 [PATCH] tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale Doug Smythies
2020-03-26 19:10 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).