diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2021-02-09 13:05:25 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-02-11 11:04:31 +0100 |
commit | ee54d379fc9c490797aa71d25d0320b5af5924a1 (patch) | |
tree | dec1f2d42a36d1205e41e31b687c629ac0cc71a5 /tools/perf/scripts/python/flamegraph.py | |
parent | e66ef72d269105cee2ae9c8fa0442d7a9857324f (diff) |
MIPS: Make check condition for SDBBP consistent with EJTAG spec
According to MIPS EJTAG Specification [1], a Debug Breakpoint
exception occurs when an SDBBP instruction is executed, the
CP0_DEBUG bit DBp indicates that a Debug Breakpoint exception
occurred.
When I read the original code, it looks a little confusing
at first glance, just check bit DBp for SDBBP to make the
code more readable, it will be much easier to understand.
[1] http://www.t-es-t.hu/download/mips/md00047f.pdf
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions