Page MenuHomeFreeBSD

Retire MK_PROFILE infrastructure
ClosedPublic

Authored by emaste on Aug 16 2021, 3:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 8:31 PM
Unknown Object (File)
Tue, Nov 19, 6:51 PM
Unknown Object (File)
Tue, Nov 19, 6:51 PM
Unknown Object (File)
Tue, Nov 19, 6:21 PM
Unknown Object (File)
Thu, Nov 14, 8:22 PM
Unknown Object (File)
Tue, Nov 12, 5:20 PM
Unknown Object (File)
Oct 12 2024, 6:06 AM
Unknown Object (File)
Sep 18 2024, 5:31 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

Lint
Lint Skipped
Unit
Tests Skipped

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
260–262

@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.Tue, Nov 12, 2:28 PM
emaste marked an inline comment as not done.Tue, Nov 12, 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
260–262

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

This revision was automatically updated to reflect the committed changes.