一种基于自主处理器硬件Trace的程序回放系统

赵纪堂, 林广栋, 房露洁

集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (7) : 21-24.

PDF(1222 KB)
PDF(1222 KB)
集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (7) : 21-24.
专题论述

一种基于自主处理器硬件Trace的程序回放系统

  • 赵纪堂, 林广栋, 房露洁
作者信息 +

Program Playback System Based on Hardware Trace of Self-dependent Processor

  • Zhao Jitang, Lin Guangdong, Fang Lujie
Author information +
文章历史 +

摘要

为了弥补单步、断点等传统侵入式调试方式的不足,越来越多的处理器在设计中加入了硬件Trace功能。现有针对硬件Trace的应用,主要集中在程序调优方面,在基于源代码的程序执行流动态回放方面还存在明显不足。本文基于一款“魂芯”数字信号处理器的硬件Trace,针对现有Trace应用的不足,实现了一种基于源码的程序回放系统,该系统不仅可以满足程序调优的需求,而且可以更好地满足程序调试的需求。

Abstract

In order to solve the shortcomings of traditional intrusive debuging methods such as single step and breakpoint,more and more processors add Trace function.Existing application of Trace mainly focus on program tuning,but there are obvious deficiencies in dynamic playback of program execution flow based on source code.This paper is based on "HunXin" digital signal processor Trace,in view of the existing Trace application shortage,implementation of a program playback system based on source code.It can not only meet the requirements of program tuning,but also better meet the requirements of program debuging.

关键词

CoreSight / HXDSP1041 / Trace / 程序回放系统

Key words

CoreSight / HXDSP1041 / Trace / program playback system

引用本文

导出引用
赵纪堂, 林广栋, 房露洁. 一种基于自主处理器硬件Trace的程序回放系统[J]. 集成电路与嵌入式系统. 2023, 23(7): 21-24
Zhao Jitang, Lin Guangdong, Fang Lujie. Program Playback System Based on Hardware Trace of Self-dependent Processor[J]. Integrated Circuits and Embedded Systems. 2023, 23(7): 21-24
中图分类号: TP302   

参考文献

[1] 杜贵然,罗金平,徐明,等.TraceCache及Trace处理器技术[J].计算机工程与科学,2001,23(1):39-43.
[2] 扈啸,陈书明,李杰,等.片上trace:嵌入式处理器的有效调试和优化技术[J].国防科技大学学报,2008,30(2).
[3] 张淡墨,张激,肖伟强.国产ARM架构芯片的Trace调试数据解析研究[J].单片机与嵌入式系统应用,2022(7).

PDF(1222 KB)

Accesses

Citation

Detail

段落导航
相关文章

/