Gcc FinInstrument函数排除文件列表不起作用

Gcc FinInstrument函数排除文件列表不起作用,gcc,makefile,linux-kernel,linux-device-driver,Gcc,Makefile,Linux Kernel,Linux Device Driver,当我尝试-finstrument functions exclude file list=arch/arm/boot/dts/并编译内核时,\uuuuucyg\u profile\u func\u enter和\uuucyg\u profile\u func\u exit没有为任何函数调用。正常-仪表功能正常工作。我的gcc版本是限制检测的4.8.4选项-finstrument functions exclude file list如果没有检测选项本身就无法工作(-finstrument fun

当我尝试
-finstrument functions exclude file list=arch/arm/boot/dts/
并编译内核时,
\uuuuucyg\u profile\u func\u enter
\uuucyg\u profile\u func\u exit
没有为任何函数调用。正常
-仪表功能正常工作。我的gcc版本是限制检测的
4.8.4

选项
-finstrument functions exclude file list
如果没有检测选项本身就无法工作(
-finstrument functions
)。同时使用这些选项的正确方法:

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

当您使用
-finstrument functions exclude file list
one时,似乎仍然需要普通选项
-finstrument functions
。@Tsyvarev如何添加它?我是说和空间在同一条线上?是的,选项应该是空格分隔的。@Tsyvarev我给出的是这样的
KBUILD\CFLAGS+=-finstrument functions exclude file list=arch/arm/boot/dts/-finstrument functions
,它仍然将配置文件函数添加到
dts
文件夹中,您可以在
dts
目录中提供一个函数示例吗,哪一个仍然使用这两个选项?