Page MenuHomeFreeBSD

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

Authored by kib on Apr 1 2021, 9:11 AM.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.