首页 > 代码库 > 解决VTune错误The Data Cannot be displayed, there is no viewpoint available for data

解决VTune错误The Data Cannot be displayed, there is no viewpoint available for data

错误信息:

Error

Cannot display data

The data cannot be displayed: there is no viewpoint application for the data


错误出现情景:

在对程序做Hardware Event-based Sampling Analysis 0分析时,出现上述错误。


错误解决方法:

删掉现有的Hardware Event-based Sampling Analysis 0,重建一个,并如下设置:

(1)添加事件

  • CPU_CLK_UNHALTED.THREAD
  • CPU_CLK_UNHALTED.REF
  • INST_RETIRED.ANY

(2)勾选Collect stacks


这样便可以消除错误。