Upgrade to 20250925

Changelog:

- For perfevent, try all combinations of disabling exclude-kernel and
  disabling exclude-hv, to handle platforms where cycle counters
  cannot handle one or both of those.

- For perfevent, do DISABLE and ENABLE around counter read (suggested
  by Jim Apple) to (hopefully) handle Graviton 3. But skip this if a
  setup test seems to work without it.

- Recognize sun4v as sparc64.

- Add support for loong64.

- Eliminate various compiler warnings.

- For cpucycles-info, print interquartile mean (iqm) rather than median.

- Say "sometimes" in documentation for enabling cycle counters in ARM
  via kernel modules.

- Change HTML style, in particular for better usability on phones.

Please see the attached diff.
Thanks!

Miguel.
Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/libcpucycles/Makefile,v
diff -u -p -u -p -r1.4 Makefile
--- Makefile    27 Jan 2025 12:55:04 -0000      1.4
+++ Makefile    21 Dec 2025 22:50:11 -0000
@@ -1,6 +1,6 @@
 COMMENT=               library for counting CPU cycles
 
-V=                     20240318
+V=                     20250925
 DISTNAME=              libcpucycles-${V}
 SHARED_LIBS+=          cpucycles       0.0     # 1.0
 CATEGORIES=            misc
Index: distinfo
===================================================================
RCS file: /cvs/ports/misc/libcpucycles/distinfo,v
diff -u -p -u -p -r1.2 distinfo
--- distinfo    27 Jan 2025 12:55:04 -0000      1.2
+++ distinfo    21 Dec 2025 22:50:11 -0000
@@ -1,2 +1,2 @@
-SHA256 (libcpucycles-20240318.tar.gz) = 
GWRqG2nY8BNkcxP87fFbaokyekt85VNTbVE/H25U0y0=
-SIZE (libcpucycles-20240318.tar.gz) = 42790
+SHA256 (libcpucycles-20250925.tar.gz) = 
YjE9Qq1aPL2NQan7cIjtwyjvSZ1Cbh8ZFhIzHQ/L4wE=
+SIZE (libcpucycles-20250925.tar.gz) = 48447
Index: patches/patch-configure_translate_host_arch
===================================================================
RCS file: 
/cvs/ports/misc/libcpucycles/patches/patch-configure_translate_host_arch,v
diff -u -p -u -p -r1.2 patch-configure_translate_host_arch
--- patches/patch-configure_translate_host_arch 27 Jan 2025 12:55:05 -0000      
1.2
+++ patches/patch-configure_translate_host_arch 21 Dec 2025 22:50:11 -0000
@@ -11,11 +11,11 @@ Index: configure
      ('arm','arm32'),
      ('riscv64','riscv64'),
      ('riscv','riscv32'),
-@@ -27,6 +28,7 @@
+@@ -28,6 +29,7 @@
      ('ppc64','ppc64'), ('powerpc64','ppc64'),
      ('powerpc','ppc32'),
      ('ppc','ppc32'),
 +    ('macppc','ppc32'),
-     ('sparc64','sparc64'), ('sparcv9','sparc64'), ('sun4u','sparc64'),
+     ('sparc64','sparc64'), ('sparcv9','sparc64'), ('sun4u','sparc64'), 
('sun4v','sparc64'),
      ('sparc','sparc32'), ('sun','sparc32'),
    ):

Reply via email to