Page MenuHomeFreeBSD

x86: remove gcov kernel support//config(8): remove support for -p
ClosedPublic

Authored by kib on Apr 1 2021, 9:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 2:37 PM
Unknown Object (File)
Sun, Feb 8, 10:18 AM
Unknown Object (File)
Sat, Jan 31, 3:47 PM
Unknown Object (File)
Sat, Jan 31, 10:31 AM
Unknown Object (File)
Fri, Jan 30, 11:25 PM
Unknown Object (File)
Wed, Jan 28, 11:53 PM
Unknown Object (File)
Dec 28 2025, 1:36 PM
Unknown Object (File)
Dec 21 2025, 4:18 AM
Subscribers

Diff Detail

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

Event Timeline

kib requested review of this revision.Apr 1 2021, 9:11 AM

Is there some more glue in sys/conf we can axe as well? Specifically, all the places that check PROFLEVEL?

Remove PROF/PROVLEVEL etc from sys/conf Makefile's pieces.

This revision is now accepted and ready to land.Apr 1 2021, 9:23 PM
This revision was automatically updated to reflect the committed changes.

FWIW ....
I read gcov, but sys/gnu/gcov survived. Perhaps it was meant to be gprof?

In D29529#662844, @pfg wrote:

FWIW ....
I read gcov, but sys/gnu/gcov survived. Perhaps it was meant to be gprof?

gnu/gcov is for line coverage not for sampled profiling. I have no idea about its state, and does it work with any modern gcc.