[phk@FreeBSD.org: Neat little, not so simple project...]

• 本文约220字,阅读大致需要2分钟 • Kernel

Profiling based optimization means better performance.

Here’s phk’s suggestion:

We can compile our kernel with "--test-coverage --profile-arcs" to
do basic-block profiling (see kernbb(8) and gcov(1)/gcc(1) docs.)