python: Add missing defines import
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 12 Feb 2019 17:04:07 +0000 (17:04 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 12 Feb 2019 17:21:01 +0000 (17:21 +0000)
commit5cf312eb5bec50ab2142ce4c7df05d673cd9a716
tree9d8e35754cec3c2e94a895687c0046bf80d94e82
parent6e08be1ec41342e0710f5335b79cae7986822862
python: Add missing defines import

The _check_tracing helper function in main.py depends on defines to
check if tracing has been enabled at compile time. This module is
imported in main() but not at the module level, which breaks this
function.

Change-Id: I26d65a4320da8618e0e552553695884fd2c880e0
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/16402
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/python/m5/main.py