mbox series

[0/2] tools/power/x86/intel_pstate_tracer: changes for pyhton 3 and newer processors

Message ID 20200128035957.2577561-1-dsmythies@telus.net (mailing list archive)
Headers show
Series tools/power/x86/intel_pstate_tracer: changes for pyhton 3 and newer processors | expand

Message

Doug Smythies Jan. 28, 2020, 3:59 a.m. UTC
Some distributions are deleting python 3 support.
A backward compatible minor syntax change is needed for
use with python 3.

Processors have exceeded some of the fixed y-axis scale maximum values.
Change them to autoscale the y-axis.

Tested with python 2.7 and 3.7.

Doug Smythies (2):
  tools/power/x86/intel_pstate_tracer: changes for python 3
    compatibility
  tools/power/x86/intel_pstate_tracer: change several graphs to
    autoscale y-axis

 .../intel_pstate_tracer.py                    | 38 +++++++++----------
 1 file changed, 18 insertions(+), 20 deletions(-)

Comments

Rafael J. Wysocki Jan. 28, 2020, 10:47 p.m. UTC | #1
On Tue, Jan 28, 2020 at 5:00 AM Doug Smythies <doug.smythies@gmail.com> wrote:
>
> Some distributions are deleting python 3 support.
> A backward compatible minor syntax change is needed for
> use with python 3.
>
> Processors have exceeded some of the fixed y-axis scale maximum values.
> Change them to autoscale the y-axis.
>
> Tested with python 2.7 and 3.7.

Both patches applied as 5.6 material, thanks!