Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package powertop for openSUSE:Factory 
checked in at 2022-09-29 18:14:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/powertop (Old)
 and      /work/SRC/openSUSE:Factory/.powertop.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "powertop"

Thu Sep 29 18:14:39 2022 rev:58 rq:1006971 version:2.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/powertop/powertop.changes        2022-04-22 
21:56:20.310948494 +0200
+++ /work/SRC/openSUSE:Factory/.powertop.new.2275/powertop.changes      
2022-09-29 18:15:23.963495062 +0200
@@ -1,0 +2,16 @@
+Thu Sep 29 14:13:21 UTC 2022 - Michael Vetter <mvet...@suse.com>
+
+- Update to 2.15:
+  * Use autoconf archive #82
+  * Patch for compatibility with Ryzen processors #91
+  * src: fix compatibility with ncurses 6.3 #92
+  * Fix buffer overrun #83
+  * Fixed valgrind errors about uninitialized values in conditionals #87
+  * Patch for compability with Ryzen processors (v2) #94
+  * Add missing line breaks after error messages #96
+  * Ensure that auto-tune is executed on resume as well #95
+- Drop contained patches:
+  * powertop-ryzen1.patch
+  * powertop-ryzen2.patch
+
+-------------------------------------------------------------------

Old:
----
  powertop-ryzen1.patch
  powertop-ryzen2.patch
  v2.14.tar.gz

New:
----
  v2.15.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ powertop.spec ++++++
--- /var/tmp/diff_new_pack.7faw4Y/_old  2022-09-29 18:15:24.495496105 +0200
+++ /var/tmp/diff_new_pack.7faw4Y/_new  2022-09-29 18:15:24.503496120 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           powertop
-Version:        2.14
+Version:        2.15
 Release:        0
 Summary:        A Linux Tool to Find out What is Using Power on a Laptop
 License:        GPL-2.0-only
@@ -25,9 +25,6 @@
 URL:            https://01.org/powertop/
 Source0:        https://github.com/fenrus75/powertop/archive/v%{version}.tar.gz
 Source1:        powertop.service
-# PATCH-FIX-UPSTREAM mvet...@suse.com -- Fix powertop Ryzen issues 
(bsc#1198000)
-Patch0:         
https://github.com/fenrus75/powertop/commit/798eb463d419941fa014ada1f863d769650351c7.patch#/powertop-ryzen1.patch
-Patch1:         
https://github.com/fenrus75/powertop/commit/5b5212d7d6e8e00925a18dc92adf0ee95249143a.patch#/powertop-ryzen2.patch
 # they repeatedly forget to upload a release tarball and only have the one from
 # GitHub which doesnt contain configure thus adding:
 # autoconf, autoconf-archive, automake, libtool
@@ -55,8 +52,6 @@
 
 %prep
 %setup -q -n powertop-%{version}
-%patch0 -p1
-%patch1 -p1
 
 # Delete objects files left in tarball
 find . -name '*.o' -delete

++++++ v2.14.tar.gz -> v2.15.tar.gz ++++++
++++ 1674 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/README.md new/powertop-2.15/README.md
--- old/powertop-2.14/README.md 2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/README.md 2022-09-29 13:46:17.000000000 +0200
@@ -26,7 +26,7 @@
 
     sudo apt install libpci-dev libnl-3-dev libnl-genl-3-dev gettext \
     libgettextpo-dev autopoint gettext libncurses5-dev libncursesw5-dev 
libtool-bin \
-    dh-autoreconf pkg-config
+    dh-autoreconf autoconf-archive pkg-config
 
 
 ## Building PowerTOP
@@ -39,7 +39,7 @@
 To build PowerTOP from the cloned source, use the following commands:
 
     ./autogen.sh
-    ./configure LDFLAGS='-pthread'
+    ./configure
     make
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/configure.ac new/powertop-2.15/configure.ac
--- old/powertop-2.14/configure.ac      2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/configure.ac      2022-09-29 13:46:17.000000000 +0200
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
-AC_INIT([powertop], [2.14], [power...@lists.01.org], [], 
[https://01.org/powertop])
+AC_INIT([powertop], [2.15], [power...@lists.01.org], [], 
[https://github.com/fenrus75/powertop])
 AM_INIT_AUTOMAKE([
        -Wall
        1.12.2
@@ -29,6 +29,9 @@
 AM_GNU_GETTEXT_VERSION([0.18.2])
 
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+AX_REQUIRE_DEFINED([AX_ADD_FORTIFY_SOURCE])
+AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
+AX_REQUIRE_DEFINED([AX_PTHREAD])
 # Checks for programs.
 AC_PROG_CPP
 AC_PROG_CXX
@@ -36,9 +39,18 @@
 AC_PROG_CC
 AC_PROG_INSTALL
 AM_PROG_CC_C_O
+AX_ADD_FORTIFY_SOURCE
+AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
 PKG_PROG_PKG_CONFIG
 
 # Checks for libraries.
+AX_PTHREAD([
+    LIBS="$PTHREAD_LIBS $LIBS"
+    CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+    CC="$PTHREAD_CC"
+  ], [
+    AC_MSG_ERROR([Could not configure pthreads support])
+])
 
 # Checks for header files.
 AC_CHECK_HEADERS([ \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/ca.po new/powertop-2.15/po/ca.po
--- old/powertop-2.14/po/ca.po  2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/ca.po  2022-09-29 13:46:17.000000000 +0200
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: Catalan (http://www.transifex.com/projects/p/PowerTOP/";
@@ -98,7 +98,7 @@
 msgid " Core(OS)"
 msgstr ""
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr ""
@@ -129,39 +129,39 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr ""
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, c-format
 msgid "Core %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, c-format
 msgid "GPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 msgid "CPU"
 msgstr ""
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, c-format
 msgid "CPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr "l'event cpu_idle no ha retornat cap estat?\n"
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
@@ -175,7 +175,7 @@
 msgid " CPU(OS) %i"
 msgstr ""
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr ""
@@ -190,21 +190,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 actiu"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -571,12 +571,12 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
 #, c-format
-msgid "modprobe msr failed"
+msgid "modprobe msr failed\n"
 msgstr ""
 
 #: src/main.cpp:380 src/main.cpp:384
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/cs_CZ.po new/powertop-2.15/po/cs_CZ.po
--- old/powertop-2.14/po/cs_CZ.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/cs_CZ.po       2022-09-29 13:46:17.000000000 +0200
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: Czech (Czech Republic) (http://www.transifex.com/projects/p/";
@@ -97,7 +97,7 @@
 msgid " Core(OS)"
 msgstr "  J??dro"
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr "  J??dro"
@@ -128,40 +128,40 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr "Bal????ek"
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, fuzzy, c-format
 msgid "Core %d"
 msgstr "J??dro %i"
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, fuzzy, c-format
 msgid "GPU %d"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 #, fuzzy
 msgid "CPU"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, fuzzy, c-format
 msgid "CPU %d"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr "cpu_idle ud??lost nevr??tila stav?\n"
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
@@ -177,7 +177,7 @@
 msgid " CPU(OS) %i"
 msgstr " CPU %i"
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr " CPU %i"
@@ -192,21 +192,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr "  Bal????ek"
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 aktivn??"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -574,13 +574,13 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
-#, c-format
-msgid "modprobe msr failed"
-msgstr ""
+#, fuzzy, c-format
+msgid "modprobe msr failed\n"
+msgstr "Selhal tich?? m??d!\n"
 
 #: src/main.cpp:380 src/main.cpp:384
 #, c-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/de_DE.po new/powertop-2.15/po/de_DE.po
--- old/powertop-2.14/po/de_DE.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/de_DE.po       2022-09-29 13:46:17.000000000 +0200
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 19:48+0000\n"
 "Last-Translator: Ettore Atalan <atalantt...@googlemail.com>\n"
 "Language-Team: German (Germany) (http://www.transifex.com/projects/p/";
@@ -98,7 +98,7 @@
 msgid " Core(OS)"
 msgstr "Kern"
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr "Kern"
@@ -129,40 +129,40 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr "Paket"
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, fuzzy, c-format
 msgid "Core %d"
 msgstr "Kern %i"
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, fuzzy, c-format
 msgid "GPU %d"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 #, fuzzy
 msgid "CPU"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, fuzzy, c-format
 msgid "CPU %d"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr "cpu_idle-Ereignis gab keinen Status zur??ck?\n"
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr "power- oder cpu_frequency-Ereignis gab kein Status zur??ck?\n"
@@ -176,7 +176,7 @@
 msgid " CPU(OS) %i"
 msgstr "CPU %i"
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr "CPU %i"
@@ -191,21 +191,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr "Paket"
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 aktiv"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -578,12 +578,12 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
 #, c-format
-msgid "modprobe msr failed"
+msgid "modprobe msr failed\n"
 msgstr ""
 
 #: src/main.cpp:380 src/main.cpp:384
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/en_GB.po new/powertop-2.15/po/en_GB.po
--- old/powertop-2.14/po/en_GB.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/en_GB.po       2022-09-29 13:46:17.000000000 +0200
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/";
@@ -97,7 +97,7 @@
 msgid " Core(OS)"
 msgstr ""
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr ""
@@ -128,39 +128,39 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr ""
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, c-format
 msgid "Core %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, c-format
 msgid "GPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 msgid "CPU"
 msgstr ""
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, c-format
 msgid "CPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr ""
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
@@ -174,7 +174,7 @@
 msgid " CPU(OS) %i"
 msgstr ""
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr ""
@@ -189,21 +189,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 active"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -570,12 +570,12 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
 #, c-format
-msgid "modprobe msr failed"
+msgid "modprobe msr failed\n"
 msgstr ""
 
 #: src/main.cpp:380 src/main.cpp:384
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/en_US.po new/powertop-2.15/po/en_US.po
--- old/powertop-2.14/po/en_US.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/en_US.po       2022-09-29 13:46:17.000000000 +0200
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: English (United States) (http://www.transifex.com/projects/p/";
@@ -96,7 +96,7 @@
 msgid " Core(OS)"
 msgstr ""
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr ""
@@ -127,39 +127,39 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr ""
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, c-format
 msgid "Core %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, c-format
 msgid "GPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 msgid "CPU"
 msgstr ""
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, c-format
 msgid "CPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr ""
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
@@ -173,7 +173,7 @@
 msgid " CPU(OS) %i"
 msgstr ""
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr ""
@@ -188,21 +188,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 active"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -569,12 +569,12 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
 #, c-format
-msgid "modprobe msr failed"
+msgid "modprobe msr failed\n"
 msgstr ""
 
 #: src/main.cpp:380 src/main.cpp:384
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/es_ES.po new/powertop-2.15/po/es_ES.po
--- old/powertop-2.14/po/es_ES.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/es_ES.po       2022-09-29 13:46:17.000000000 +0200
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/PowerTOP/";
@@ -97,7 +97,7 @@
 msgid " Core(OS)"
 msgstr ""
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr ""
@@ -128,40 +128,40 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr ""
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, c-format
 msgid "Core %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, fuzzy, c-format
 msgid "GPU %d"
 msgstr " CPU %i"
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 #, fuzzy
 msgid "CPU"
 msgstr " CPU %i"
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, fuzzy, c-format
 msgid "CPU %d"
 msgstr " CPU %i"
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr ""
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
@@ -175,7 +175,7 @@
 msgid " CPU(OS) %i"
 msgstr ""
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr ""
@@ -190,21 +190,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 activo"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -571,12 +571,12 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
 #, c-format
-msgid "modprobe msr failed"
+msgid "modprobe msr failed\n"
 msgstr ""
 
 #: src/main.cpp:380 src/main.cpp:384
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/hu_HU.po new/powertop-2.15/po/hu_HU.po
--- old/powertop-2.14/po/hu_HU.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/hu_HU.po       2022-09-29 13:46:17.000000000 +0200
@@ -11,7 +11,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: Hungarian (Hungary) (http://www.transifex.com/projects/p/";
@@ -99,7 +99,7 @@
 msgid " Core(OS)"
 msgstr ""
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr ""
@@ -130,40 +130,40 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr ""
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, fuzzy, c-format
 msgid "Core %d"
 msgstr "Mag %i"
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, fuzzy, c-format
 msgid "GPU %d"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 #, fuzzy
 msgid "CPU"
 msgstr "CPU %i"
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, fuzzy, c-format
 msgid "CPU %d"
 msgstr "CPU %i"
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr "a CPU ??resj??ratesem??ny nem adott vissza ??llapotot?\n"
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
@@ -177,7 +177,7 @@
 msgid " CPU(OS) %i"
 msgstr ""
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr ""
@@ -192,21 +192,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 akt??v"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -574,12 +574,12 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
 #, c-format
-msgid "modprobe msr failed"
+msgid "modprobe msr failed\n"
 msgstr ""
 
 #: src/main.cpp:380 src/main.cpp:384
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/id_ID.po new/powertop-2.15/po/id_ID.po
--- old/powertop-2.14/po/id_ID.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/id_ID.po       2022-09-29 13:46:17.000000000 +0200
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/";
@@ -96,7 +96,7 @@
 msgid " Core(OS)"
 msgstr "  Core"
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr "  Core"
@@ -127,40 +127,40 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr "Paket"
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, fuzzy, c-format
 msgid "Core %d"
 msgstr "Core %i"
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, fuzzy, c-format
 msgid "GPU %d"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 #, fuzzy
 msgid "CPU"
 msgstr "CPU %i"
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, fuzzy, c-format
 msgid "CPU %d"
 msgstr "CPU %i"
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr "kejadian cpu_idle tak mengembalikan keadaan?\n"
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr "kejadian power atau cpu_frequency tak mengembalikan keadaan?\n"
@@ -174,7 +174,7 @@
 msgid " CPU(OS) %i"
 msgstr " CPU %i"
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr " CPU %i"
@@ -189,21 +189,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr "Paket"
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 aktif"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -571,13 +571,13 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
-#, c-format
-msgid "modprobe msr failed"
-msgstr ""
+#, fuzzy, c-format
+msgid "modprobe msr failed\n"
+msgstr "Mode hening gagal!\n"
 
 #: src/main.cpp:380 src/main.cpp:384
 #, c-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/nl_NL.po new/powertop-2.15/po/nl_NL.po
--- old/powertop-2.14/po/nl_NL.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/nl_NL.po       2022-09-29 13:46:17.000000000 +0200
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/";
@@ -97,7 +97,7 @@
 msgid " Core(OS)"
 msgstr ""
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr ""
@@ -128,39 +128,39 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr ""
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, c-format
 msgid "Core %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, c-format
 msgid "GPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 msgid "CPU"
 msgstr ""
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, c-format
 msgid "CPU %d"
 msgstr ""
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr ""
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr ""
@@ -174,7 +174,7 @@
 msgid " CPU(OS) %i"
 msgstr ""
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr ""
@@ -189,21 +189,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 active"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -568,12 +568,12 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
 #, c-format
-msgid "modprobe msr failed"
+msgid "modprobe msr failed\n"
 msgstr ""
 
 #: src/main.cpp:380 src/main.cpp:384
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/po/zh_TW.po new/powertop-2.15/po/zh_TW.po
--- old/powertop-2.14/po/zh_TW.po       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/po/zh_TW.po       2022-09-29 13:46:17.000000000 +0200
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PowerTOP\n"
 "Report-Msgid-Bugs-To: \"power...@lists.01.org\"\n"
-"POT-Creation-Date: 2020-06-11 12:04-0700\n"
+"POT-Creation-Date: 2022-09-29 04:45-0700\n"
 "PO-Revision-Date: 2013-11-05 08:40+0000\n"
 "Last-Translator: Margie Foster <mar...@linux.intel.com>\n"
 "Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/";
@@ -96,7 +96,7 @@
 msgid " Core(OS)"
 msgstr "  ??????"
 
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:347
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:367
 #, c-format
 msgid "  Core"
 msgstr "  ??????"
@@ -127,40 +127,40 @@
 msgid "Processor Idle State Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:753
+#: src/cpu/cpu.cpp:535 src/cpu/cpu.cpp:761
 msgid "Package"
 msgstr "??????"
 
-#: src/cpu/cpu.cpp:566 src/cpu/cpu.cpp:775
+#: src/cpu/cpu.cpp:572 src/cpu/cpu.cpp:783
 #, fuzzy, c-format
 msgid "Core %d"
 msgstr "?????? %i"
 
-#: src/cpu/cpu.cpp:573
+#: src/cpu/cpu.cpp:579
 #, fuzzy, c-format
 msgid "GPU %d"
 msgstr "GPU %i"
 
-#: src/cpu/cpu.cpp:594
+#: src/cpu/cpu.cpp:602
 #, fuzzy
 msgid "CPU"
 msgstr "CPU %i"
 
-#: src/cpu/cpu.cpp:676
+#: src/cpu/cpu.cpp:684
 msgid "Processor Frequency Report"
 msgstr ""
 
-#: src/cpu/cpu.cpp:796
+#: src/cpu/cpu.cpp:804
 #, fuzzy, c-format
 msgid "CPU %d"
 msgstr "CPU %i"
 
-#: src/cpu/cpu.cpp:997
+#: src/cpu/cpu.cpp:1005
 #, c-format
 msgid "cpu_idle event returned no state?\n"
 msgstr "cpu_idle ???????????????????????????\n"
 
-#: src/cpu/cpu.cpp:1012
+#: src/cpu/cpu.cpp:1020
 #, c-format
 msgid "power or cpu_frequency event returned no state?\n"
 msgstr "power ??? cpu_frequecny ???????????????????????????\n"
@@ -174,7 +174,7 @@
 msgid " CPU(OS) %i"
 msgstr " CPU %i"
 
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:694
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:733
 #, c-format
 msgid " CPU %i"
 msgstr " CPU %i"
@@ -189,21 +189,21 @@
 msgid " Pkg(OS)"
 msgstr ""
 
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:455
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:498
 #, c-format
 msgid "  Package"
 msgstr "??????"
 
-#: src/cpu/intel_cpus.cpp:140
+#: src/cpu/intel_cpus.cpp:152
 #, c-format
 msgid "read_msr cpu%d 0x%llx : "
 msgstr ""
 
-#: src/cpu/intel_cpus.cpp:617
+#: src/cpu/intel_cpus.cpp:656
 msgid "C0 active"
 msgstr "C0 ?????????"
 
-#: src/cpu/intel_cpus.cpp:675
+#: src/cpu/intel_cpus.cpp:714
 #, c-format
 msgid "Average"
 msgstr ""
@@ -571,13 +571,13 @@
 
 #: src/main.cpp:365
 #, c-format
-msgid "modprobe cpufreq_stats failed"
+msgid "modprobe cpufreq_stats failed\n"
 msgstr ""
 
 #: src/main.cpp:368
-#, c-format
-msgid "modprobe msr failed"
-msgstr ""
+#, fuzzy, c-format
+msgid "modprobe msr failed\n"
+msgstr "???????????????????????????\n"
 
 #: src/main.cpp:380 src/main.cpp:384
 #, c-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/powertop.service new/powertop-2.15/powertop.service
--- old/powertop-2.14/powertop.service  2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/powertop.service  2022-09-29 13:46:17.000000000 +0200
@@ -6,4 +6,4 @@
 ExecStart=/usr/sbin/powertop --auto-tune
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target sleep.target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/cpu/cpu.cpp new/powertop-2.15/src/cpu/cpu.cpp
--- old/powertop-2.14/src/cpu/cpu.cpp   2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/src/cpu/cpu.cpp   2022-09-29 13:46:17.000000000 +0200
@@ -551,6 +551,12 @@
                                if (!_core->can_collapse()) {
                                        buffer[0] = 0;
                                        buffer2[0] = 0;
+                                       
+                                       /*
+                                               * Patch for compatibility with 
Ryzen processors
+                                               * See 
https://github.com/fenrus75/powertop/issues/64
+                                       */
+                                       if(idx2 >= core_tbl_size.cols * 
core_tbl_size.rows) break;
 
                                        if (line == LEVEL_HEADER) {
                                                /* Here we need to check for 
which core type we
@@ -576,6 +582,8 @@
                                                        }
                                                }
                                        } else {
+
+                                               
                                                
tmp_str=string(_core->fill_cstate_name(line, buffer));
                                                core_data[idx2]=(tmp_str=="" ? 
"&nbsp;" : tmp_str);
                                                idx2+=1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/cpu/cpu.h new/powertop-2.15/src/cpu/cpu.h
--- old/powertop-2.14/src/cpu/cpu.h     2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/src/cpu/cpu.h     2022-09-29 13:46:17.000000000 +0200
@@ -81,8 +81,8 @@
        int     first_cpu;
        struct timeval  stamp_before, stamp_after;
        double  time_factor;
-       uint64_t max_frequency;
-       uint64_t max_minus_one_frequency;
+       uint64_t max_frequency = 0;
+       uint64_t max_minus_one_frequency = 0;
 
        virtual void    account_freq(uint64_t frequency, uint64_t duration);
        virtual void    freq_updated(uint64_t time);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/cpu/intel_cpus.cpp 
new/powertop-2.15/src/cpu/intel_cpus.cpp
--- old/powertop-2.14/src/cpu/intel_cpus.cpp    2021-04-15 01:29:13.000000000 
+0200
+++ new/powertop-2.15/src/cpu/intel_cpus.cpp    2022-09-29 13:46:17.000000000 
+0200
@@ -75,18 +75,26 @@
        0x7A,   /* GLK */
        0x7D,   /* ICL_DESKTOP */
        0x7E,   /* ICL_MOBILE */
+       0x8A,   /* LKF */
        0x8C,   /* TGL_MOBILE */
        0x8D,   /* TGL_DESKTOP */
-       0x8E,   /* KBL */
+       0x8E,   /* KBL_MOBILE */
        0X8F,   /* SAPPHIRERAPIDS_X */
        0x96,   /* EHL */
        0x97,   /* ADL_DESKTOP */
        0x9A,   /* ADL_MOBILE */
        0x9C,   /* JSL */
-       0x9E,   /* KBL */
+       0x9D,   /* ICL_NNPI */
+       0x9E,   /* KBL_DESKTOP */
        0xA5,   /* CML_DESKTOP */
        0xA6,   /* CML_MOBILE */
        0xA7,   /* RKL_DESKTOP */
+       0xAA,   /* MTL_MOBILE */
+       0xAC,   /* MTL_DESKTOP */
+       0xB7,   /* RPL_DESKTOP */
+       0xBA,   /* RPL_P */
+       0xBE,   /* ADL_N */
+       0xBF,   /* RPL_S */
        0       /* last entry must be zero */
 };
 
@@ -192,18 +200,26 @@
                case 0x7A:      /* GLK */
                case 0x7D:      /* ICL_DESKTOP */
                case 0x7E:      /* ICL_MOBILE */
+               case 0x8A:      /* LKF */
                case 0x8C:      /* TGL_MOBILE */
                case 0x8D:      /* TGL_DESKTOP */
-               case 0x8E:      /* KBL */
+               case 0x8E:      /* KBL_MOBILE */
                case 0x8F:      /* SAPPHIRERAPIDS_X */
                case 0x96:      /* EHL */
                case 0x97:      /* ADL_DESKTOP */
                case 0x9A:      /* ADL_MOBILE */
                case 0x9C:      /* JSL */
-               case 0x9E:      /* KBL */
+               case 0x9D:      /* ICL_NNPI */
+               case 0x9E:      /* KBL_DESKTOP */
                case 0xA5:      /* CML_DESKTOP */
                case 0xA6:      /* CML_MOBILE */
                case 0xA7:      /* RKL_DESKTOP */
+               case 0xAA:      /* MTL_MOBILE */
+               case 0xAC:      /* MTL_DESKTOP */
+               case 0xB7:      /* RPL_DESKTOP */
+               case 0xBA:      /* RPL_P */
+               case 0xBE:      /* ADL_N */
+               case 0xBF:      /* RPL_S */
                        has_c7_res = 1;
        }
 
@@ -385,18 +401,26 @@
                case 0x7A:      /* GLK */
                case 0x7D:      /* ICL_DESKTOP */
                case 0x7E:      /* ICL_MOBILE */
+               case 0x8A:      /* LKF */
                case 0x8C:      /* TGL_MOBILE */
                case 0x8D:      /* TGL_DESKTOP */
-               case 0x8E:      /* KBL */
+               case 0x8E:      /* KBL_MOBILE */
                case 0x8F:      /* SAPPHIRERAPIDS_X */
                case 0x96:      /* EHL */
                case 0x97:      /* ADL_DESKTOP */
                case 0X9A:      /* ADL_MOBILE */
                case 0x9C:      /* JSL */
-               case 0x9E:      /* KBL */
+               case 0x9D:      /* ICL_NNPI */
+               case 0x9E:      /* KBL_DESKTOP */
                case 0xA5:      /* CML_DESKTOP */
                case 0xA6:      /* CML_MOBILE */
                case 0xA7:      /* RKL_DESKTOP */
+               case 0xAA:      /* MTL_MOBILE */
+               case 0xAC:      /* MTL_DESKTOP */
+               case 0xB7:      /* RPL_DESKTOP */
+               case 0xBA:      /* RPL_P */
+               case 0xBE:      /* ADL_N */
+               case 0xBF:      /* RPL_S */
                        has_c2c6_res=1;
                        has_c7_res = 1;
        }
@@ -432,17 +456,25 @@
                case 0x7A:      /* GLK */
                case 0x7D:      /* ICL_DESKTOP */
                case 0x7E:      /* ICL_MOBILE */
+               case 0x8A:      /* LKF */
                case 0x8C:      /* TGL_MOBILE */
                case 0x8D:      /* TGL_DESKTOP */
-               case 0x8E:      /* KBL */
+               case 0x8E:      /* KBL_MOBILE */
                case 0x96:      /* EHL */
                case 0x97:      /* ADL_DESKTOP */
                case 0x9A:      /* ADL_MOBILE */
                case 0x9C:      /* JSL */
-               case 0x9E:      /* KBL */
+               case 0x9D:      /* ICL_NNPI */
+               case 0x9E:      /* KBL_DESKTOP */
                case 0xA5:      /* CML_DESKTOP */
                case 0xA6:      /* CML_MOBILE */
                case 0xA7:      /* RKL_DESKTOP */
+               case 0xAA:      /* MTL_MOBILE */
+               case 0xAC:      /* MTL_DESKTOP */
+               case 0xB7:      /* RPL_DESKTOP */
+               case 0xBA:      /* RPL_P */
+               case 0xBE:      /* ADL_N */
+               case 0xBF:      /* RPL_S */
                        has_c8c9c10_res = 1;
                        break;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/devices/devfreq.cpp 
new/powertop-2.15/src/devices/devfreq.cpp
--- old/powertop-2.14/src/devices/devfreq.cpp   2021-04-15 01:29:13.000000000 
+0200
+++ new/powertop-2.15/src/devices/devfreq.cpp   2022-09-29 13:46:17.000000000 
+0200
@@ -297,7 +297,7 @@
                        df->fill_freq_utilization(j, buf);
                        strcat(fline, buf);
                        strcat(fline, "\n");
-                       wprintw(win, fline);
+                       wprintw(win, "%s", fline);
                }
                wprintw(win, "\n");
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/display.cpp new/powertop-2.15/src/display.cpp
--- old/powertop-2.14/src/display.cpp   2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/src/display.cpp   2022-09-29 13:46:17.000000000 +0200
@@ -125,7 +125,7 @@
 
        c = bottom_lines[tab_names[tab]].c_str();
        if (c && strlen(c) > 0)
-               mvwprintw(bottom_line, 0,0, c);
+               mvwprintw(bottom_line, 0,0, "%s", c);
        else
                mvwprintw(bottom_line, 0, 0,
                        "<ESC> %s | <TAB> / <Shift + TAB> %s | ", _("Exit"),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/lib.cpp new/powertop-2.15/src/lib.cpp
--- old/powertop-2.14/src/lib.cpp       2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/src/lib.cpp       2022-09-29 13:46:17.000000000 +0200
@@ -583,7 +583,7 @@
         * buffer */
        vsnprintf(notify, UI_NOTIFY_BUFF_SZ - 1, frmt, list);
        va_end(list);
-       mvprintw(1, 0, notify);
+       mvprintw(1, 0, "%s", notify);
        attroff(COLOR_PAIR(1));
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/main.cpp new/powertop-2.15/src/main.cpp
--- old/powertop-2.14/src/main.cpp      2021-04-15 01:29:13.000000000 +0200
+++ new/powertop-2.15/src/main.cpp      2022-09-29 13:46:17.000000000 +0200
@@ -362,10 +362,10 @@
        setrlimit (RLIMIT_NOFILE, &rlmt);
 
        if (system("/sbin/modprobe cpufreq_stats > /dev/null 2>&1"))
-               fprintf(stderr, _("modprobe cpufreq_stats failed"));
+               fprintf(stderr, _("modprobe cpufreq_stats failed\n"));
 #if defined(__i386__) || defined(__x86_64__)
        if (system("/sbin/modprobe msr > /dev/null 2>&1"))
-               fprintf(stderr, _("modprobe msr failed"));
+               fprintf(stderr, _("modprobe msr failed\n"));
 #endif
        statfs("/sys/kernel/debug", &st_fs);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/measurement/measurement.h 
new/powertop-2.15/src/measurement/measurement.h
--- old/powertop-2.14/src/measurement/measurement.h     2021-04-15 
01:29:13.000000000 +0200
+++ new/powertop-2.15/src/measurement/measurement.h     2022-09-29 
13:46:17.000000000 +0200
@@ -30,7 +30,7 @@
 using namespace std;
 
 class power_meter {
-       bool discharging;
+       bool discharging = false;
 public:
        virtual ~power_meter() {};
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/powertop-2.14/src/process/process.cpp 
new/powertop-2.15/src/process/process.cpp
--- old/powertop-2.14/src/process/process.cpp   2021-04-15 01:29:13.000000000 
+0200
+++ new/powertop-2.15/src/process/process.cpp   2022-09-29 13:46:17.000000000 
+0200
@@ -33,6 +33,8 @@
 
 #include <iostream>
 #include <fstream>
+#include <algorithm>
+#include <iterator>
 #include "../lib.h"
 
 
@@ -71,17 +73,9 @@
        return delta;
 }
 
-static void cmdline_to_string(char *str)
+static void cmdline_to_string(std::string& str)
 {
-       char *c = str;
-       char prev = 0;
-
-       while (prev != 0 || *c  != 0) {
-               prev = *c;
-               if (*c == 0)
-                       *c = ' ';
-               c++;
-       }
+       std::replace(str.begin(), str.end(), '\0', ' ');
 }
 
 
@@ -135,17 +129,15 @@
        sprintf(line, "/proc/%i/cmdline", _pid);
        file.open(line, ios::binary);
        if (file) {
-               memset(line, 0, sizeof(line));
-               file.read(line, 4096);
+               std::string cmdline(std::istreambuf_iterator<char>(file), 
(std::istreambuf_iterator<char>()));
                file.close();
-               if (strlen(line) < 1) {
+               if (cmdline.size() < 1) {
                        is_kernel = 1;
                        snprintf(desc + pos, sizeof(desc) - pos, "[%s]", comm);
                } else {
-                       int sz = sizeof(desc) - pos - 1;
-                       cmdline_to_string(line);
-                       strncpy(desc + pos, line, sz);
-                       desc[sz] = 0x00;
+                       cmdline_to_string(cmdline);
+                       strncpy(desc + pos, cmdline.c_str(), sizeof(desc) - pos 
- 1);
+                       desc[sizeof(desc) - 1] = '\0';
                }
        }
 }

Reply via email to