Page MenuHomeFreeBSD

Retire MK_PROFILE infrastructure
ClosedPublic

Authored by emaste on Aug 16 2021, 3:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 26, 10:39 AM
Unknown Object (File)
Sun, Nov 9, 1:47 PM
Unknown Object (File)
Oct 26 2025, 11:39 PM
Unknown Object (File)
Oct 25 2025, 4:22 PM
Unknown Object (File)
Oct 24 2025, 7:32 AM
Unknown Object (File)
Oct 23 2025, 11:29 PM
Unknown Object (File)
Oct 22 2025, 3:15 AM
Unknown Object (File)
Sep 29 2025, 2:07 PM

Details

Summary
We announced that the option would be removed before FreeBSD 14; it was
first disabled by default in fe52b7f60ef4.

Relnotes:       Yes
Sponsored by:   The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste added subscribers: phk, imp.

TODO: determine if we can/should reuse any of this for code coverage (idea from @phk)

emaste added inline comments.
contrib/bmake/mk/lib.mk
258–260 ↗(On Diff #93753)

@sjg, this would have no effect after my change but would you want to leave it to reduce diffs against upstream?

I changed the WITH_PROFILE description in f768ecf247b7acd98fd0ee395522e559769e3e51 as it may not be gone in 14.

This revision is now accepted and ready to land.Nov 12 2024, 2:28 PM
emaste marked an inline comment as not done.Nov 12 2024, 3:12 PM

Updated proposed commit message to

It was disabled by default in fe52b7f60ef4.  We planned to (but did not)
remove the option before FreeBSD 14.  Remove it now, for FreeBSD 15.

I would generally leave contrib alone

contrib/bmake/mk/lib.mk
258–260 ↗(On Diff #93753)

Leave it - it isn't used in freebsd and other systems still use profiling

This revision was automatically updated to reflect the committed changes.