History log of /freebsd/lib/libpmc/Makefile (Results 1 – 25 of 122)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 67c3c3a2 23-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

libpmc: Move libpmc and utils to a new pmc package

Due to the size of libpmc.so.5, this reduces the size of the -utilities
package by 10%.

MFC after: 1 day
Reviewed by: manu, adrian, emaste
Differe

libpmc: Move libpmc and utils to a new pmc package

Due to the size of libpmc.so.5, this reduces the size of the -utilities
package by 10%.

MFC after: 1 day
Reviewed by: manu, adrian, emaste
Differential Revision: https://reviews.freebsd.org/D52662

show more ...


Revision tags: release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2, release/14.3.0-p1, release/14.2.0-p4, release/13.5.0-p2, release/14.3.0, release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0
# e9ac4169 15-Jul-2024 Warner Losh <imp@FreeBSD.org>

Remove residual blank line at start of Makefile

This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix


Revision tags: release/14.1.0, release/13.3.0, release/14.0.0
# b2934971 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc.amd(3): rename from pmc.k8(3)

This is the first step in recognizing that the K8 microarchitecture
represents a small and aged subset of AMD CPUs supported by this class.
Future changes will upda

pmc.amd(3): rename from pmc.k8(3)

This is the first step in recognizing that the K8 microarchitecture
represents a small and aged subset of AMD CPUs supported by this class.
Future changes will update the code and documentation details to better
reflect this.

Keep the old filename as an alias.

Reviewed by: jkoshy
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41279

show more ...


# 82d6d46d 18-Oct-2023 Mitchell Horne <mhorne@FreeBSD.org>

pmc: remove last bits of AMD K7 CPU support

This includes event definitions from sys/pmc_events.h, definitions from
sys/pmc.h, and the man pages.

Reviewed by: jkoshy
Sponsored by: The FreeBSD Found

pmc: remove last bits of AMD K7 CPU support

This includes event definitions from sys/pmc_events.h, definitions from
sys/pmc.h, and the man pages.

Reviewed by: jkoshy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41275

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


Revision tags: release/13.2.0
# c6b3f47f 23-Mar-2023 John Baldwin <jhb@FreeBSD.org>

libpmc: Use LIB_CXX instead of explicit LDADD to link a C++ library.

This uses the C++ compiler as the linker instead of the C compiler
letting the compiler driver pick the right libraries. This is

libpmc: Use LIB_CXX instead of explicit LDADD to link a C++ library.

This uses the C++ compiler as the linker instead of the C compiler
letting the compiler driver pick the right libraries. This is a no-op
on main and stable/13 but matters for stable/12 where the current
logic breaks for external GCC since it tries to use a non-existent
libstdc++.

Reviewed by: emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D39197

show more ...


Revision tags: release/12.4.0
# e92d6923 29-Nov-2022 Ed Maste <emaste@FreeBSD.org>

libpmc: remove unused auto_ptr warning suppression

libpmc used -Wno-deprecated-declarations to silence warnings about usage
of deprecated std::auto_ptr, but there is (now) now use of auto_ptr in
lib

libpmc: remove unused auto_ptr warning suppression

libpmc used -Wno-deprecated-declarations to silence warnings about usage
of deprecated std::auto_ptr, but there is (now) now use of auto_ptr in
libpmc.

Reviewed by: mhorne
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37576

show more ...


# 1f567956 31-Aug-2022 Toomas Soome <tsoome@FreeBSD.org>

libpmc: pmc_init() should avoid overflowing pmc_class_table

Use calloc().

Walk the class list we get from kernel, so we will not add something
the kernel does not know about.

Avoid picking headers

libpmc: pmc_init() should avoid overflowing pmc_class_table

Use calloc().

Walk the class list we get from kernel, so we will not add something
the kernel does not know about.

Avoid picking headers from /usr/include.

Differential Revision: https://reviews.freebsd.org/D36401

show more ...


Revision tags: release/13.1.0
# cedbdaf0 16-Feb-2022 Aleksandr Rybalko <ray@freebsd.org>

Add pmc.dmc-620(3) man page.

Reviewed by: pauamma
Sponsored By: Ampere Computing
Differential Revision: https://reviews.freebsd.org/D32669


# da4e1e31 16-Feb-2022 Aleksandr Rybalko <ray@freebsd.org>

Add the Arm CoreLink CMN-600 Coherent Mesh Network Controller PMU driver man page.

Add the Arm CoreLink CMN-600 Coherent Mesh Network Controller PMU driver man page.

Reviewed by: pauamma_gundo.com

Add the Arm CoreLink CMN-600 Coherent Mesh Network Controller PMU driver man page.

Add the Arm CoreLink CMN-600 Coherent Mesh Network Controller PMU driver man page.

Reviewed by: pauamma_gundo.com
Sponsored By: ARM
Differential Revision: https://reviews.freebsd.org/D32335

show more ...


# 99830f70 28-Jan-2022 Mitchell Horne <mhorne@FreeBSD.org>

libpmc: remove mips support

Bye bye!

Reviewed by: imp, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34083


Revision tags: release/12.3.0
# d78896e4 10-Aug-2021 Mitchell Horne <mhorne@FreeBSD.org>

pmc(3): remove Pentium-related man pages and references

Support for Pentium events was removed completely in e92a1350b50e.

Don't bump .Dd where we are just removing xrefs.

Reviewed by: emaste
MFC

pmc(3): remove Pentium-related man pages and references

Support for Pentium events was removed completely in e92a1350b50e.

Don't bump .Dd where we are just removing xrefs.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31423

show more ...


# 507d6898 31-May-2021 Mitchell Horne <mhorne@FreeBSD.org>

libpmc: limit pmu-events to 64-bit powerpc

Although currently unused, there are only pmu event definitions for
POWER8 and POWER9. There is no sense in building these on 32-bit
platforms.

Sponsored

libpmc: limit pmu-events to 64-bit powerpc

Although currently unused, there are only pmu event definitions for
POWER8 and POWER9. There is no sense in building these on 32-bit
platforms.

Sponsored by: The FreeBSD Foundation

show more ...


# 3864da30 31-May-2021 Mitchell Horne <mhorne@FreeBSD.org>

libpmc: use $MACHINE_CPUARCH

This is preferred over $MACHINE_ARCH for these types of checks, although
it makes no difference for amd64 or i386. No functional change intended.

Sponsored by: The Free

libpmc: use $MACHINE_CPUARCH

This is preferred over $MACHINE_ARCH for these types of checks, although
it makes no difference for amd64 or i386. No functional change intended.

Sponsored by: The FreeBSD Foundation

show more ...


# 689c7e79 31-May-2021 Mitchell Horne <mhorne@FreeBSD.org>

libpmc: always generate libpmc_events.c

The jevents build tool will create an empty table if it doesn't find any
events, so we can remove the extra $MACHINE_CPUARCH checks.

Reviewed by: gnn, ray, e

libpmc: always generate libpmc_events.c

The jevents build tool will create an empty table if it doesn't find any
events, so we can remove the extra $MACHINE_CPUARCH checks.

Reviewed by: gnn, ray, emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30531

show more ...


Revision tags: release/13.0.0
# 04e34c02 15-Feb-2021 Alan Somers <asomers@FreeBSD.org>

libpmc: fix linking with C programs

Revision r334749 Added some C++ code to libpmc. It didn't change the ABI,
but it did introduce a dependency on libc++. Nobody noticed because every
program that

libpmc: fix linking with C programs

Revision r334749 Added some C++ code to libpmc. It didn't change the ABI,
but it did introduce a dependency on libc++. Nobody noticed because every
program that in the base system that uses libpmc is also C++.

Reported-by: Dom Dwyer <dom@itsallbroken.com>
Reviewed By: vangyzen
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D28550

show more ...


# aa76f0c3 25-Dec-2020 Michal Meloun <strejda@users.noreply.github.com>

PMC: remove now orphaned PMC for INTEL XScale processors.
Support for XScale architecture has been deleted in FreeBSD 13.


Revision tags: release/12.2.0
# 2a6803de 14-Sep-2020 Andrew Turner <andrew@FreeBSD.org>

Use MACHINE_CPUARCH when checking for arm64

Use MACHINE_CPUARCH with arm64 (aarch64) when we build code that could run
on any 64-bit Arm instruction set. This will simplify checks in downstream
cons

Use MACHINE_CPUARCH when checking for arm64

Use MACHINE_CPUARCH with arm64 (aarch64) when we build code that could run
on any 64-bit Arm instruction set. This will simplify checks in downstream
consumers targeting prototype instruction sets.

The only place we check for MACHINE_ARCH == aarch64 is when building the
device tree blobs. As these are targeting current generation ISAs.

Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D26370

show more ...


# e2c0e292 16-Jul-2020 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: Rubicon Communications, LLC (netgate.com)


# a9ea0047 15-Jul-2020 Alex Richardson <arichardson@FreeBSD.org>

Avoid rebuilding libpmc in every incremental rebuild

Generate libpmc_events.c in a temporary file first and only overwrite it
if the files are actually different.
This avoids compiling and relinking

Avoid rebuilding libpmc in every incremental rebuild

Generate libpmc_events.c in a temporary file first and only overwrite it
if the files are actually different.
This avoids compiling and relinking the different variants of libpmc on
every incremental build.

Reviewed By: jhb
Differential Revision: https://reviews.freebsd.org/D24784

show more ...


Revision tags: release/11.4.0
# 483955de 25-Mar-2020 Emmanuel Vadot <manu@FreeBSD.org>

libpmc: Always add the full include path for libpmcstat

Previously it was only added for aarch64, amd64 and i386


# ee55186d 25-Mar-2020 Emmanuel Vadot <manu@FreeBSD.org>

pmc: Add include path for libpmcstat as it is an internallib

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D24173


# 4b50c451 14-Jan-2020 Kyle Evans <kevans@FreeBSD.org>

Revert r353140: Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around

arichardson has an actual fix for the same issue that this was working
around; given that we don't build with llvm today, go ahea

Revert r353140: Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around

arichardson has an actual fix for the same issue that this was working
around; given that we don't build with llvm today, go ahead and revert the
workaround in advance.

show more ...


# b114e8fc 19-Dec-2019 Simon J. Gerraty <sjg@FreeBSD.org>

Tweaks for DIRDEPS_BUILD

libmagic only depend on mkmagic if not DIRDEPS_BUILD

libpmc fix -I for libpmcstat

local.dirdeps.mk be even more careful about adding gnu/lib/csu to DIRDEPS

Reviewed by: b

Tweaks for DIRDEPS_BUILD

libmagic only depend on mkmagic if not DIRDEPS_BUILD

libpmc fix -I for libpmcstat

local.dirdeps.mk be even more careful about adding gnu/lib/csu to DIRDEPS

Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D22872

show more ...


# c039e959 12-Dec-2019 Ed Maste <emaste@FreeBSD.org>

libpmc: build json event support also on arm64


12345