On Mon, Aug 5, 2019 at 11:44 PM Hongzhi, Song <hongzhi.s...@windriver.com>
wrote:

> Hi Bruce,
>
> I see profiling.scc is included by kernel-cache/bsp/*, such as
> bsp/intel-x86 bsp/common-pc/ ... .
>
>
> My question is that is it necessary to open profiling.cfg defaultly?
>

We left profiling as a per-BSP decision, since production machine
configurations don't want the overhead that it brings.

Not all BSPs follow the split between developer and production, but see how
it is used in:

bsp/common-pc-64/common-pc-64-developer.scc:include
features/profiling/profiling.scc
bsp/common-pc-64/common-pc-64-preempt-rt.scc:include
features/profiling/profiling.scc

If it was enabled by default, it really should be in the developer ktype
and then BSPs could have the split between production and developer/debug
in their definitions .. with the developer ones getting profiling by
default.

Bruce



>
>
> --Hongzhi
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to