base: Add unit test for base/trace.hh

Add an unit test for base/trace.hh.

Marked the source files needed for tracing with a 'gem5 trace'
tag.

Change-Id: Ib1e17de3c772146596a26a2ce5aa7a6310bf7938
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41336
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
This commit is contained in:
Daniel R. Carvalho
2021-01-15 16:01:10 -03:00
committed by Daniel Carvalho
parent 43f3c51bce
commit 7f5bd15f51
4 changed files with 613 additions and 8 deletions

View File

@@ -42,9 +42,9 @@ SimObject('PowerState.py')
SimObject('PowerDomain.py')
Source('async.cc')
Source('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
Source('backtrace_%s.cc' % env['BACKTRACE_IMPL'], add_tags='gem5 trace')
Source('core.cc')
Source('cur_tick.cc')
Source('cur_tick.cc', add_tags='gem5 trace')
Source('tags.cc')
Source('cxx_config.cc')
Source('cxx_manager.cc')