]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Merge branch 'next'
authorKarel Zak <kzak@redhat.com>
Wed, 2 Jun 2021 10:33:07 +0000 (12:33 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Jun 2021 10:33:07 +0000 (12:33 +0200)
* next: (26 commits)
  build-sys: add script to compare config.h from meson and autotools
  meson: add missing header files check
  docs: update TODO
  tests: update lscpu outputs
  lscpu: read MHZ from /sys/.../cpufreq/scaling_cur_freq
  lscpu: use locale-independent strtod() when read from kernel
  lib/c_strtod; add locale independent strtod()
  tests: update lscpu output
  lscpu: use MHZ as number to be locale sensitive
  lscpu: add SCALMHZ% and "CPU scaling MHz:"
  sulogin: fix whitespace error
  sulogin: ignore none-existing console devices
  lsns: fix old error message
  lsns: fix copy & past in man page
  lsns: fill UID and USER columns for interpolated namespaces
  fixup! lsns: interpolate missing namespaces for converting forests to a tree
  lsns: interpolate missing namespaces for converting forests to a tree
  lsns: reorganize members specifying other namespaces in lsns_namespace
  lsns: make namespace having no process printable
  libblkid: support zone reset for wipefs
  ...

1  2 
configure.ac
libblkid/src/probe.c
meson.build
sys-utils/lscpu-cputype.c
sys-utils/lscpu.c

diff --cc configure.ac
Simple merge
Simple merge
diff --cc meson.build
Simple merge
Simple merge
index b5cde272302e6ea29a5034eb06632a0c8a12ee8b,90bcde5efacd8fe09db15a621d327d84078cc91e..24f59465d9ebf65e4471d6bff373ae225d77d30a
@@@ -149,7 -150,8 +150,8 @@@ static struct lscpu_coldesc coldescs_cp
        [COL_CPU_ADDRESS]      = { "ADDRESS", N_("physical address of a CPU") },
        [COL_CPU_CONFIGURED]   = { "CONFIGURED", N_("shows if the hypervisor has allocated the CPU") },
        [COL_CPU_ONLINE]       = { "ONLINE", N_("shows if Linux currently makes use of the CPU"), SCOLS_FL_RIGHT },
 -      [COL_CPU_MHZ]          = { "MHZ", N_("shows the currently MHz of the CPU"), SCOLS_FL_RIGHT },
 +      [COL_CPU_MHZ]          = { "MHZ", N_("shows the currently MHz of the CPU"), SCOLS_FL_RIGHT },
+       [COL_CPU_SCALMHZ]      = { "SCALMHZ%", N_("shows scaling percentage of the CPU frequency"), SCOLS_FL_RIGHT },
        [COL_CPU_MAXMHZ]       = { "MAXMHZ", N_("shows the maximum MHz of the CPU"), SCOLS_FL_RIGHT },
        [COL_CPU_MINMHZ]       = { "MINMHZ", N_("shows the minimum MHz of the CPU"), SCOLS_FL_RIGHT }
  };