Page MenuHomeFreeBSD

Retire MK_PROFILE infrastructure
ClosedPublic

Authored by emaste on Aug 16 2021, 3:00 PM.
Tags
None
Referenced Files
F154993837: D31558.id93753.diff
Thu, Apr 30, 1:28 PM
F154993834: D31558.id93753.diff
Thu, Apr 30, 1:28 PM
Unknown Object (File)
Sat, Apr 25, 8:08 PM
Unknown Object (File)
Fri, Apr 24, 11:30 PM
Unknown Object (File)
Sun, Apr 19, 1:51 AM
Unknown Object (File)
Sat, Apr 18, 9:56 AM
Unknown Object (File)
Sat, Apr 18, 5:29 AM
Unknown Object (File)
Sat, Apr 18, 5:22 AM

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.