closedir patch
by Michael Vetter
In case `dir` is NULL we should not call `closedir()` since it's
behaviour is implementation specific.
Patch attached. Please apply with `git am <
powertop-only-closedir.patch`.
2 years, 2 months
PowerTOP v2.12 Release
by Kammela, Gayatri
Hi all,
We are pleased to announce the release of PowerTOP v2.12.
About PowerTOP:
PowerTOP is a Linux tool to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerTOP also has an interactive mode you can use to experiment with various power management settings, for cases where the Linux distribution has not enabled those settings.
PowerTOP reports which components in the system are most likely to able for higher-than-needed power consumption, ranging from software applications to active components in the system. Detailed screens are available for CPU C and P states, device activity, and software activity. For many years, PowerTOP has been used heavily by Intel, Linux distributors, and various parts of the open source community.
About PowerTOP v2.12 release:
This is a minor release with a few updates to README file, use of DIPM (Device Interface Power Management) for SATA link PM and updates to the build scripts. We have also enabled support for Comet Lake mobile and desktop, Skylake server and atom based Tremont (Jasper Lake). Thanks to the contributors from the open source community.
Thank you to everyone who contributed to this release! Stay safe and stay healthy!.
Anthony Wong (1):
README: suggest to install autoconf-archive
Gayatri Kammela (8):
README: Update README file
intel_cpus: Enable Jasper Lake support in PowerTop
src/cpu: intel_cpus: Re-arrange the order of cpu model numbers
intel_cpus: Enable Sky Lake server support in PowerTop
src/display.cpp: Fix: Add the missing part of the patch changes
configure.ac: Add a new release candidate v2.12-rc1 to PowerTop
powertop.pot: Update powertop.pot
configure.ac: Add a new release v2.12 to PowerTop
Joe Konno (4):
Revert "configure.ac: version strings from git describe"
configure.ac: required version to 2.69
configure.ac: ax_add_fortify_source
po: update translation files and template
Nivedita Swaminathan (1):
intel_cpus: Enable Comet Lake (Mobile) and Comet Lake (Desktop) support
Ross Burton (1):
tuningsysfs: use med_power_with_dipm for SATA link power management
Change log:
.gitignore | 1 -
Makefile.am | 2 -
README | 25 +++---
autogen.sh | 1 -
configure.ac | 9 +--
m4/ax_cxx_compile_stdcxx_11.m4 | 142 ----------------------------------
m4/ax_pthread.m4 | 332 -------------------------------------------------------------------------------
m4/gcc_fortify_source_cc.m4 | 29 -------
po/ca.po | 14 ++--
po/cs_CZ.po | 14 ++--
po/de_DE.po | 14 ++--
po/en_GB.po | 14 ++--
po/en_US.po | 14 ++--
po/es_ES.po | 14 ++--
po/hu_HU.po | 14 ++--
po/id_ID.po | 14 ++--
po/nl_NL.po | 14 ++--
po/powertop.pot | 16 ++--
po/zh_TW.po | 14 ++--
scripts/version | 13 ----
src/cpu/intel_cpus.cpp | 48 ++++++++----
src/display.cpp | 2 +-
src/tuning/tuningsysfs.cpp | 2 +-
23 files changed, 125 insertions(+), 637 deletions(-)
delete mode 100644 m4/ax_cxx_compile_stdcxx_11.m4
delete mode 100644 m4/ax_pthread.m4
delete mode 100644 m4/gcc_fortify_source_cc.m4
delete mode 100644 scripts/version
Thanks ,
Gayatri Kammela
2 years, 2 months
[PATCH] po: update translation files and template
by Joe Konno
From: Joe Konno <joe.konno(a)intel.com>
Use gettext makefile script to update all translation files in
preparation for next release.
The template (POT) file need not be manually updated as we did in an
earlier commit, so let gettext update it without manual intervention.
Fixes: 4da1908824f6 ("powertop.pot: Update powertop.pot")
Signed-off-by: Joe Konno <joe.konno(a)intel.com>
---
po/ca.po | 14 +++++++-------
po/cs_CZ.po | 14 +++++++-------
po/de_DE.po | 14 +++++++-------
po/en_GB.po | 14 +++++++-------
po/en_US.po | 14 +++++++-------
po/es_ES.po | 14 +++++++-------
po/hu_HU.po | 14 +++++++-------
po/id_ID.po | 14 +++++++-------
po/nl_NL.po | 14 +++++++-------
po/powertop.pot | 12 ++++++------
po/zh_TW.po | 14 +++++++-------
11 files changed, 76 insertions(+), 76 deletions(-)
diff --git a/po/ca.po b/po/ca.po
index 2c824e2a97c5..acfacfa69432 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/PowerTOP/"
@@ -98,7 +98,7 @@ msgstr ""
msgid " Core(OS)"
msgstr ""
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr ""
@@ -175,7 +175,7 @@ msgstr "C0 sondejant"
msgid " CPU(OS) %i"
msgstr ""
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr ""
@@ -190,21 +190,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr ""
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 actiu"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/cs_CZ.po b/po/cs_CZ.po
index 731f3697d50c..6386c0c34c16 100644
--- a/po/cs_CZ.po
+++ b/po/cs_CZ.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: Czech (Czech Republic) (http://www.transifex.com/projects/p/"
@@ -97,7 +97,7 @@ msgstr " Jádro"
msgid " Core(OS)"
msgstr " Jádro"
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr " Jádro"
@@ -177,7 +177,7 @@ msgstr "C0 sdílení"
msgid " CPU(OS) %i"
msgstr " CPU %i"
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr " CPU %i"
@@ -192,21 +192,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr " Balíček"
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 aktivní"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/de_DE.po b/po/de_DE.po
index dcf675856900..60506d44a858 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 19:48+0000\n"
"Last-Translator: Ettore Atalan <atalanttore(a)googlemail.com>\n"
"Language-Team: German (Germany) (http://www.transifex.com/projects/p/"
@@ -98,7 +98,7 @@ msgstr "Kern"
msgid " Core(OS)"
msgstr "Kern"
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr "Kern"
@@ -176,7 +176,7 @@ msgstr "C0 sammeln"
msgid " CPU(OS) %i"
msgstr "CPU %i"
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr "CPU %i"
@@ -191,21 +191,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr "Paket"
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 aktiv"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/en_GB.po b/po/en_GB.po
index 6f9e94930e03..aa569d8250d2 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/"
@@ -97,7 +97,7 @@ msgstr ""
msgid " Core(OS)"
msgstr ""
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr ""
@@ -174,7 +174,7 @@ msgstr "C0 polling"
msgid " CPU(OS) %i"
msgstr ""
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr ""
@@ -189,21 +189,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr ""
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 active"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/en_US.po b/po/en_US.po
index 3ce213f2af25..8b4ce6427a93 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: English (United States) (http://www.transifex.com/projects/p/"
@@ -96,7 +96,7 @@ msgstr ""
msgid " Core(OS)"
msgstr ""
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr ""
@@ -173,7 +173,7 @@ msgstr "C0 polling"
msgid " CPU(OS) %i"
msgstr ""
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr ""
@@ -188,21 +188,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr ""
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 active"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/es_ES.po b/po/es_ES.po
index a862f65fa6ee..0716523a3b53 100644
--- a/po/es_ES.po
+++ b/po/es_ES.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/PowerTOP/"
@@ -97,7 +97,7 @@ msgstr ""
msgid " Core(OS)"
msgstr ""
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr ""
@@ -175,7 +175,7 @@ msgstr "C0 sondeando"
msgid " CPU(OS) %i"
msgstr ""
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr ""
@@ -190,21 +190,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr ""
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 activo"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/hu_HU.po b/po/hu_HU.po
index 12bd29021a5b..dded3143ff5e 100644
--- a/po/hu_HU.po
+++ b/po/hu_HU.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: Hungarian (Hungary) (http://www.transifex.com/projects/p/"
@@ -99,7 +99,7 @@ msgstr ""
msgid " Core(OS)"
msgstr ""
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr ""
@@ -177,7 +177,7 @@ msgstr "C0 ciklikus lekérdezés"
msgid " CPU(OS) %i"
msgstr ""
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr ""
@@ -192,21 +192,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr ""
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 aktív"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/id_ID.po b/po/id_ID.po
index 994413567cd0..2ccefe790eb3 100644
--- a/po/id_ID.po
+++ b/po/id_ID.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
@@ -96,7 +96,7 @@ msgstr " Core"
msgid " Core(OS)"
msgstr " Core"
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr " Core"
@@ -174,7 +174,7 @@ msgstr "C0 polling"
msgid " CPU(OS) %i"
msgstr " CPU %i"
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr " CPU %i"
@@ -189,21 +189,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr "Paket"
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 aktif"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/nl_NL.po b/po/nl_NL.po
index aa5237818c40..7986de5b26fc 100644
--- a/po/nl_NL.po
+++ b/po/nl_NL.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/"
@@ -97,7 +97,7 @@ msgstr ""
msgid " Core(OS)"
msgstr ""
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr ""
@@ -174,7 +174,7 @@ msgstr "C0 polling"
msgid " CPU(OS) %i"
msgstr ""
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr ""
@@ -189,21 +189,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr ""
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 active"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
diff --git a/po/powertop.pot b/po/powertop.pot
index 7e19e080fbbf..caad4750d758 100644
--- a/po/powertop.pot
+++ b/po/powertop.pot
@@ -1,17 +1,17 @@
-# PowerTOP
-# Copyright (C) 2020 Intel Corporation
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Intel Corporation
# This file is distributed under the same license as the powertop package.
-# Arjan van de Ven <arjan(a)linux.intel.com>, 2010.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: PowerTOP 2.12-rc1\n"
+"Project-Id-Version: powertop 2.12-rc1\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2020-04-02 14:20-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: powertop(a)lists.01.org\n"
+"Language-Team: LANGUAGE <LL(a)li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 0d248044949e..6f1a5c90fd28 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PowerTOP\n"
"Report-Msgid-Bugs-To: \"powertop(a)lists.01.org\"\n"
-"POT-Creation-Date: 2019-09-26 15:56-0700\n"
+"POT-Creation-Date: 2020-04-17 09:26-0700\n"
"PO-Revision-Date: 2013-11-05 08:40+0000\n"
"Last-Translator: Margie Foster <margie(a)linux.intel.com>\n"
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/"
@@ -96,7 +96,7 @@ msgstr " 核心"
msgid " Core(OS)"
msgstr " 核心"
-#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:336
+#: src/cpu/cpu_core.cpp:91 src/cpu/intel_cpus.cpp:344
#, c-format
msgid " Core"
msgstr " 核心"
@@ -174,7 +174,7 @@ msgstr "C0 輪巡"
msgid " CPU(OS) %i"
msgstr " CPU %i"
-#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:675
+#: src/cpu/cpu_linux.cpp:341 src/cpu/intel_cpus.cpp:691
#, c-format
msgid " CPU %i"
msgstr " CPU %i"
@@ -189,21 +189,21 @@ msgstr ""
msgid " Pkg(OS)"
msgstr ""
-#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:436
+#: src/cpu/cpu_package.cpp:104 src/cpu/intel_cpus.cpp:452
#, c-format
msgid " Package"
msgstr "代號"
-#: src/cpu/intel_cpus.cpp:135
+#: src/cpu/intel_cpus.cpp:139
#, c-format
msgid "read_msr cpu%d 0x%llx : "
msgstr ""
-#: src/cpu/intel_cpus.cpp:598
+#: src/cpu/intel_cpus.cpp:614
msgid "C0 active"
msgstr "C0 運作中"
-#: src/cpu/intel_cpus.cpp:656
+#: src/cpu/intel_cpus.cpp:672
#, c-format
msgid "Average"
msgstr ""
--
2.26.0
2 years, 2 months
[PATCH] src/display.cpp: Fix: Add the missing part of the patch changes
by Gayatri Kammela
This patch fixes the part of missing patch changes and updates the
version in configure.ac to 2.12-pre
fixes: 152a39949691 ("Revert "configure.ac: version strings from git
describe"")
Reported-by: Anthony Wong <yp(a)anthonywong.net>
Signed-off-by: Joe Konno <joe.konno(a)intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela(a)intel.com>
---
configure.ac | 2 +-
src/display.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index bc3b5b935703..d5d33762a136 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
-AC_INIT([powertop], [2.9-pre], [powertop(a)lists.01.org], [], [https://01.org/powertop])
+AC_INIT([powertop], [2.12-pre], [powertop(a)lists.01.org], [], [https://01.org/powertop])
AM_INIT_AUTOMAKE([
-Wall
1.12.2
diff --git a/src/display.cpp b/src/display.cpp
index 7b3a7a2f2073..71311446728d 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -117,7 +117,7 @@ void show_tab(unsigned int tab)
wattrset(tab_bar, A_REVERSE);
mvwprintw(tab_bar, 0,0, "%120s", "");
- mvwprintw(tab_bar, 0,0, "PowerTOP %s", PACKAGE_SHORT_VERSION);
+ mvwprintw(tab_bar, 0,0, "PowerTOP %s", PACKAGE_VERSION);
bottom_line = newwin(1, 0, LINES-1, 0);
wattrset(bottom_line, A_REVERSE);
--
2.17.1
2 years, 3 months
[PATCH 0/3 v1] Clean up some stale autotools artifacts
by Joe Konno
From: Joe Konno <joe.konno(a)intel.com>
Sending these patches as a batch, but they are each stand-alone tweaks.
A few years ago I added a script that attempted to compile in a 'git
describe' string into PowerTOP-- it has not performed to my expectations
in the intervening time, so let's just remove it.
Also included in this batch are some autotools cleanups. We have been
lugging around some m4 macros that, I assert, are no longer necessary.
Joe Konno (3):
Revert "configure.ac: version strings from git describe"
configure.ac: required version to 2.69
configure.ac: ax_add_fortify_source
.gitignore | 1 -
Makefile.am | 2 -
autogen.sh | 1 -
configure.ac | 9 +-
m4/ax_cxx_compile_stdcxx_11.m4 | 142 --------------
m4/ax_pthread.m4 | 332 ---------------------------------
m4/gcc_fortify_source_cc.m4 | 29 ---
scripts/version | 13 --
src/display.cpp | 2 +-
9 files changed, 4 insertions(+), 527 deletions(-)
delete mode 100644 m4/ax_cxx_compile_stdcxx_11.m4
delete mode 100644 m4/ax_pthread.m4
delete mode 100644 m4/gcc_fortify_source_cc.m4
delete mode 100644 scripts/version
--
2.25.0
2 years, 3 months
[PATCH] README: suggest to install autoconf-archive
by Anthony Wong
After autoconf version bumped to 2.69, autoconf-archive is needed for
AX_PTHREAD macro to work.
Signed-off-by: Anthony Wong <anthony.wong(a)ubuntu.com>
---
README | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README b/README
index 347e865..a2c32ca 100644
--- a/README
+++ b/README
@@ -11,11 +11,11 @@ ncurses-devel (required)
libnl-devel (required)
kernel version => 2.6.38
-Example packages to install in Ubuntu
+Example packages to install in Ubuntu:
-sudo apt-get install libpci-dev libnl-3-dev libnl-genl-3-dev gettext \
+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
+dh-autoreconf autoconf-archive pkg-config
Building & Installing PowerTOP
------------------------------
--
2.25.1
2 years, 3 months