base: create DPRINTF_UNCONDITIONAL
authorCiro Santilli <ciro.santilli@arm.com>
Fri, 11 Oct 2019 16:01:24 +0000 (17:01 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Tue, 26 Nov 2019 12:46:59 +0000 (12:46 +0000)
commit2841aaae7e5d53cc5b634873a8d689119556c875
treebe689f9c221ba856a7498655ea24235dc61d2564
parent105b2c8914946867f040caf6a8ff7da3c5d028d7
base: create DPRINTF_UNCONDITIONAL

This is similar to DPRINTFN, but it also prints a given flag to allow
communicating to users which flag enabled a given log.

This is useful for logs which are enabled with DTRACE instead of directly
with DPRINTF.

Change-Id: Ife2d2ea88aede1cdcb713f143340a8788a755b01
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22005
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/base/trace.hh