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.

关于HOOKS函数的使用疑问



TI 大牛们你们好,

我在TI社区中下载了hooks的原函数,profile.zip,我的具体使用步骤如下,

  • 将Hook.c、Hook.h文件添加到自己的工程源文件和头文件中,编译;
  • 在main函数中调用了function_hook_init();
  • 设置了工程->属性中的Entry/Exit Hook options;
  • 在函数的main()末尾添加fwrite()把profile[]数组中的数据二进制方式保存;
  • 在C6000 DSP profiling Tool中打开.data和.out文件

我得到的结果如下:

请问,这是什么原因呢?

谢谢啦,

pei qin