|
Revision tags: 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, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0 |
|
| #
c6b3f47f |
| 23-Mar-2023 |
John Baldwin <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> Reviewed By: vangyzen MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28550
show more ...
|
| #
aa76f0c3 |
| 25-Dec-2020 |
Michal Meloun <[email protected]> |
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 <[email protected]> |
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 ...
|
| #
a9ea0047 |
| 15-Jul-2020 |
Alex Richardson <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
libpmc: build json event support also on arm64
|
| #
312809fe |
| 11-Dec-2019 |
Simon J. Gerraty <[email protected]> |
Update dirdeps.mk and gendirdeps.mk
The env space consumed by exporting all libc's .meta files left little room for command line, so unexport when done.
Update dirdeps.mk to latest and add dirdeps-
Update dirdeps.mk and gendirdeps.mk
The env space consumed by exporting all libc's .meta files left little room for command line, so unexport when done.
Update dirdeps.mk to latest and add dirdeps-targets.mk to simplify/update targets/Makefile
Makefile changes to go with Makefile.depend changes in D22494
Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22495
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
036d2e81 |
| 06-Oct-2019 |
Kyle Evans <[email protected]> |
Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around
Diff partially stolen from CheriBSD; these bits need -Wl,-z,notext in order to build in an LLVM world. They are needed for all flavors/sizes of M
Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around
Diff partially stolen from CheriBSD; these bits need -Wl,-z,notext in order to build in an LLVM world. They are needed for all flavors/sizes of MIPS. This will eventually get fixed in LLVM, but it's unclear when.
Reported by: arichardson, emaste Differential Revision: https://reviews.freebsd.org/D21696
show more ...
|
| #
2c3f47a7 |
| 17-Sep-2019 |
Dimitry Andric <[email protected]> |
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigg
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigger-happy, in the sense that it already warns on the declaration itself, not when you are using it. This is very annoying with our use of -Wsystem-headers. That should really be disabled for gcc.
show more ...
|
| #
4c1a82ce |
| 05-Sep-2019 |
Emmanuel Vadot <[email protected]> |
pkgbase: Create a FreeBSD-utilities package and make it the default one
The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and r
pkgbase: Create a FreeBSD-utilities package and make it the default one
The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
b3d01a2a |
| 14-Apr-2019 |
Enji Cooper <[email protected]> |
Fix warnings with lib/libpmc
* Use `MIN` instead of similar hand rolled macro. * Sort headers. * Use `errno.h` instead of `sys/errno.h`. * Wrap the argument to sizeof in parentheses for clarity. * R
Fix warnings with lib/libpmc
* Use `MIN` instead of similar hand rolled macro. * Sort headers. * Use `errno.h` instead of `sys/errno.h`. * Wrap the argument to sizeof in parentheses for clarity. * Remove `__BSD_VISIBLE` and `_XOPEN_SOURCE` #defines to mute warnings about incompatible snprintf definitions.
This fixes a number of warnings I've been seeing lately in my builds.
Sort makefile variables per style.Makefile(9) (`CFLAGS`/`CWARNFLAG.gcc`) and bump `WARNS` to 3.
MFC after: 2 weeks Reviewed by: jtl Approved by: jtl (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D19851
show more ...
|