python: fix tracing after Python 3 refactor
authorCiro Santilli <ciro.santilli@arm.com>
Mon, 15 Apr 2019 13:08:49 +0000 (14:08 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Tue, 23 Apr 2019 10:21:46 +0000 (10:21 +0000)
commit325acb786e5472841011cebed3cc36e535b413dc
tree3ca58a2b76e9f3d3c03f73e4af8793bbd0b1be35
parentc5b3db6da28611280c291d9e0540f087cf55a54e
python: fix tracing after Python 3 refactor

gem5.opt --debug-flags ExecAll

was failing with:

ImportError: No module named defines

on Python 2.

Change-Id: I06959d6e0ccb7c661c7c749af3392632dac779f3
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18108
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/main.py