diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-06-20 14:49:37 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-06-20 14:49:37 +0100 |
commit | efb7fb6f852eeedc2cd226332372e7544eb011d7 (patch) | |
tree | 7e24c25bb0d53ec9258b1cce1365d14887d45b56 /src/cpu/thread_state.hh | |
parent | 2c91ccfbe8efc59bf838e681d43f289adf663225 (diff) | |
download | gem5-efb7fb6f852eeedc2cd226332372e7544eb011d7.tar.xz |
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>
Diffstat (limited to 'src/cpu/thread_state.hh')
0 files changed, 0 insertions, 0 deletions