小编Jos*_*aum的帖子

OProfile警告"丢弃超空间样本"是什么意思?

使用统计执行分析器OProfile可视化我的C应用程序的调用图配置文件时,它会多次包含以下警告.警告对我来说相当神秘:

warning: dropping hyperspace sample at offset 1af9 >= 2be8 for binary /home/myuser/mybinary
Run Code Online (Sandbox Code Playgroud)

我在Xen虚拟化环境中使用OProfile,如下所示:

modprobe oprofile timer=1
opcontrol --no-vmlinux
opcontrol --start
(wait for profiling data to accumulate)
opcontrol --stop
opreport --session-dir=/var/lib/oprofile --exclude-dependent --demangle=smart \
--symbols /home/myuser/mybinary --callgraph
Run Code Online (Sandbox Code Playgroud)

最后一个命令的完整输出是:

Overflow stats not available
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
warning: dropping hyperspace sample at offset 84d0 >= 79a0 for binary /home/myuser/mybinary
warning: dropping hyperspace sample at offset 7ac0 >= 79a0 for binary /home/myuser/mybinary
warning: …
Run Code Online (Sandbox Code Playgroud)

c linux profiling performance-testing oprofile

4
推荐指数
1
解决办法
878
查看次数

标签 统计

c ×1

linux ×1

oprofile ×1

performance-testing ×1

profiling ×1