diff options
author | Sascha Bischoff <sascha.bischoff@arm.com> | 2013-08-19 03:52:32 -0400 |
---|---|---|
committer | Sascha Bischoff <sascha.bischoff@arm.com> | 2013-08-19 03:52:32 -0400 |
commit | e553844efc4247f5be870fad5ea919af85858a55 (patch) | |
tree | 461a2180159436396941ace89f04a25e48bcd7fa /COPYING | |
parent | 6279eaf1f7d28b370ede16d52475a7da372d2dde (diff) | |
download | gem5-e553844efc4247f5be870fad5ea919af85858a55.tar.xz |
cpu: Fix TrafficGen trace playback
This patch addresses an issue with trace playback in the TrafficGen
where the trace was reset but the header was not read from the trace
when a captured trace was played back for a second time. This resulted
in parsing errors as the expected message was not found in the trace
file.
The header check is moved to an init funtion which is called by the
constructor and when the trace is reset. This ensures that the trace
header is read each time when the trace is replayed.
This patch also addresses a small formatting issue in a panic.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions