Review Board 2.0.15


mem: Resolve TrafficGen trace relative to the config

Review Request #3501 - Created June 7, 2016 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 11533:9743b944cbe2
---------------------------
mem: Resolve TrafficGen trace relative to the config

The traffic generator currently resolves relative trace paths relative
to gem5's current working directory. This can lead to surprising
results for relative paths where the expectation would normally be
that they are resolved relative to the configuration file. This
changeset implements config-relative trace file lookups. The old
behavior is kept as a fallback for configs that expect that behavior.

Change-Id: I1bda4e16725842666ffc37dcb6838c23a6ff138c
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>

   
Review request changed
Updated (June 20, 2016, 6:54 a.m.)

Status: Closed (submitted)