diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-12-07 11:05:55 +0000 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-12-07 13:28:19 +0000 |
commit | b14b43a576733af3332ca9cff97b9c00f2d9cd00 (patch) | |
tree | 363555c2a53cb0e251721c1ab247bd54ffda6ee6 /util/checktrace.sh | |
parent | 6d1e9ee7c573868519f18a6c8427c54cb3bfddb5 (diff) | |
download | gem5-b14b43a576733af3332ca9cff97b9c00f2d9cd00.tar.xz |
mem: Compile tracePacket only when TRACING_ON is defined
If TRACING_ON is not defined (e.g. when building gem5.fast), clang
compilations will fail reporting an unused function.
Change-Id: I959dba6e9fcf74b951e16365077939ae4d4ef924
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14975
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'util/checktrace.sh')
0 files changed, 0 insertions, 0 deletions