[PATCH] Makefile.am need reference to m4 directory
by Daniel Black
Running autoreconf (autconf-2.69/automake-1.15/libtoolize-2.4.6)
without the m4 directory specified in the Makefile.am file generates
the following warning:
./autogen.sh
autoreconf: Entering directory `.'
autoreconf: running: autopoint
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:26: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and
its use is discouraged.
configure.ac:26: You should use the Autoconf-provided 'AC_PROG_MKDIR_P'
macro instead,
configure.ac:26: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your
Makefile.am files.
autoreconf: Leaving directory `.'
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.am b/Makefile.am
index c8d0ae2..a9cf9db 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
AUTOMAKE_OPTIONS = subdir-objects
+ACLOCAL_AMFLAGS=-I m4
SUBDIRS = \
traceevent \
--
2.7.4
5 years, 11 months
[PATCH] Update OPAL power management to handle different paths
by Daniel Black
$ ls -lad /sys/devices/platform/opal-sensor/hwmon/*/power*
drwxr-xr-x 2 root root 0 May 23 10:16
/sys/devices/platform/opal-sensor/hwmon/hwmon4/power
-r--r--r-- 1 root root 65536 May 23 10:16
/sys/devices/platform/opal-sensor/hwmon/hwmon4/power1_input
$ cat /sys/devices/platform/opal-sensor/hwmon/hwmon4/power1_input
566000000
There patches allow any
/sys/devices/platform/opal-sensor/hwmon/hwmon*/power* file to be
detected as a measurement sysfs entry excluding directories.
6 years, 1 month
Report to STDOUT by default, reintroduce the -d, --dump switch
by Jaroslav Skarvada
Hi,
I think it would be useful if PowerTOP could by default write reports to STDOUT
(the output could be easily filtered through pipes).
I proposed patch [1], which:
- makes the filename argument of CSV, HTML reports optional (was previously mandatory),
if it is not specified it outputs to STDOUT
- reintroduced the old -d, --dump switch, which writes report in plain text
(which could be also useful and at least keeps user interface backward
compatibility with powertop 1.x)
thanks & regards
Jaroslav
[1] https://github.com/fenrus75/powertop/pull/22
6 years, 1 month