工具/软件:Code Composer Studio
大家好、
当我启用编译器选项"generated analysis info from profile data"时、如下所示:错误发生!
那么、"Option --analyze is not valid with --gen_profile_info "的含义是什么? 如何获取程序的调用图?
非常感谢!
QL
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
大家好、
当我启用编译器选项"generated analysis info from profile data"时、如下所示:错误发生!
那么、"Option --analyze is not valid with --gen_profile_info "的含义是什么? 如何获取程序的调用图?
非常感谢!
QL
遗憾的是、C28x 编译器不支持--analyze=callgraph。 我提交了条目 EXT_EP-9752以更正此错误。 请随时通过我签名中的以下链接进行跟踪。 错误从编译器开始并自动传播到 CCS 中。
[报价用户="user6114104"]如何获取程序的调用图?
您可以通过 CCS 菜单选择 View | Stack Usage 获取静态调用图。 或者、您可以使用 CG_xml 包中的实用程序 call_graph。
谢谢、此致、
乔治
尊敬的乔治:
我尝试使用 CG_xml_package 中的 CAA_graph 实用程序、但出现了如下异常:
D:\ccs\workspace_v9\fe\PE1VP008_SA_400_CPU1_rtos\Release>call_graph PE1VP008_SA_300_CPU1_RTOS_linkInfo.xml |在 XML_TI_OFD.pm 行2204的模式匹配(m//)中更多地使用未初始化值$str。 在 XML_TI_OFD.pm 行1354的哈希元素中使用未初始化的值$Targ_num。 D:\ti\ccs910\ccs\utils\cgxml\ccmxml-2.61.00\bin\call_graph.exe 仅针对 C6000、C5500、ARM、C2000和 MSP430进行了测试。不:未知 无法找到入口点。 已在脚本/call_graph.pl 第994行停止。
当我尝试使用 CCS 菜单选择 View|Stack Usage 获取静态调用图时、结果为空:
那么、我有什么问题吗? 请帮我解决。
非常感谢!
QL
我尝试了如下方法:
D:\ccs\workspace_v9\fe\PE1VP008_SA_400_CPU1_rtos\Release>ofd6x -x PE1VP008_SA_400_CPU1_rtos.out | call_graph Reading from stdin ... 未找到.debug_info 段。 已在 script/call_graph.pl 行1102处停止、 第1行。
由于一些原因,它也停止了。
谢谢!