finstrument-functions-exclude-file-list 不起作用

finstrument-functions-exclude-file-list does not work

当我尝试 -finstrument-functions-exclude-file-list=arch/arm/boot/dts/ 并编译内核时,__cyg_profile_func_enter__cyg_profile_func_exit 没有被任何函数调用。正常 -finstrument-functions 正常工作。我的 gcc 版本是 4.8.4

限制检测选项 -finstrument-functions-exclude-file-list 在没有检测选项本身 (-finstrument-functions) 的情况下不起作用。一起使用这些选项的正确方法:

-finstrument-functions -finstrument-functions-exclude-file-list=arch/arm/boot/dts/