[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818385: install/cpumf: work with the CPU-measurement facilities



Control: tags -1 + patch

On Wed, Mar 16, 2016 at 05:50:16PM +0100, Hendrik Brueckner wrote:
> 
> this is a request to package a set of utilities to display information
> about the CPU-measurement counter and sampling facilities.  Both facilities
> provide hardware support for counters (cycles, instructions, etc.) and
> sampling.
[...]
> I will attach a patch when I have a bug number to provide you an changelog
> entry for convenience.

As promised below the patch.

Thanks and kind regards,
  Hendrik
diff -Nru s390-tools-1.33.0/debian/changelog s390-tools-1.33.0/debian/changelog
--- s390-tools-1.33.0/debian/changelog	2016-02-14 14:00:40.000000000 +0100
+++ s390-tools-1.33.0/debian/changelog	2016-03-16 17:39:33.000000000 +0100
@@ -1,3 +1,12 @@
+s390-tools (1.33.0-2) UNRELEASED; urgency=medium
+
+  [ Hendrik Brueckner ]
+  * Added tools to display information about the CPU-measurement counter
+    and sampling facilities.  This includes a database with hardware
+    counter information.  (Closes: #818385)
+
+ -- Hendrik Brueckner <brueckner@linux.vnet.ibm.com>  Wed, 16 Mar 2016 17:13:53 +0100
+
 s390-tools (1.33.0-1) unstable; urgency=medium
 
   [ Philipp Kern ]
diff -Nru s390-tools-1.33.0/debian/s390-tools.install s390-tools-1.33.0/debian/s390-tools.install
--- s390-tools-1.33.0/debian/s390-tools.install	2016-02-14 14:00:14.000000000 +0100
+++ s390-tools-1.33.0/debian/s390-tools.install	2016-03-16 17:42:58.000000000 +0100
@@ -37,6 +37,19 @@
 /usr/share/man/man8/iucvtty.8
 /usr/share/man/man9/hvc_iucv.9
 
+# CPU-measurement facility
+/usr/bin/lscpumf
+/usr/share/man/man1/lscpumf.1
+/usr/sbin/chcpumf
+/usr/share/man/man8/chcpumf.8
+/lib/s390-tools/cpumf_helper
+/usr/share/s390-tools/cpumf/cpum-cf-hw-counter.map
+/usr/share/s390-tools/cpumf/cpum-cf-extended-z10.ctr
+/usr/share/s390-tools/cpumf/cpum-cf-extended-z196.ctr
+/usr/share/s390-tools/cpumf/cpum-cf-extended-zEC12.ctr
+/usr/share/s390-tools/cpumf/cpum-cf-generic.ctr
+/usr/share/s390-tools/cpumf/cpum-sf-modes.ctr
+
 # qetharp
 /sbin/qetharp
 /usr/share/man/man8/qetharp.8

Reply to: