Page MenuHomeFreeBSD

Retire MK_PROFILE infrastructure
AcceptedPublic

Authored by emaste on Aug 16 2021, 3:00 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Sep 7 2024, 9:46 PM
Unknown Object (File)
Aug 30 2024, 12:32 PM
Unknown Object (File)
Aug 23 2024, 9:26 AM
Unknown Object (File)
Aug 23 2024, 9:26 AM
Unknown Object (File)
Aug 23 2024, 8:56 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
258–260

@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
258–260

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