perf-report show value of CPU register
我遵循此文档,并在
但是我如何从perf.data查看这些信息?原始命令为
有什么办法显示CPU regs的值?
在
1
2
3
4
5
6
7 -F::
--fields::
Comma separated list of fields to print. Options are:
comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff,
srcline, period, iregs, brstack, brstacksym, flags, bpf-output, brstackinsn,
callindent, insn, insnlen. Field list can be prepended with the type, trace, sw or hw,
to indicate to which event type the field list applies.
在Linux内核git中有提交,其中提到了标志
https://github.com/torvalds/linux/search?utf8=?
我找到了一种使用
或者其他人可以提供更简化的方法?