Refactor ProfilingUtils
authorJan Eilers <jan.eilers@arm.com>
Wed, 16 Oct 2019 08:54:15 +0000 (09:54 +0100)
committerJan Eilers <jan.eilers@arm.com>
Wed, 16 Oct 2019 10:19:40 +0000 (11:19 +0100)
commitb884ea4441097b2a8231aed90b41a637524944c2
treef626cfcf3064803512c675ef66df43bad4d43a20
parent92fa15b8ad514a026093748a0cf0771eb99bbc6f
Refactor ProfilingUtils

* Added decl_id to all swtrace stream messages
* Adjusted unit tests to include decl_id
* Refactored code to reduce code duplication

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I7a607765d9e65b1c08e4f914acbeda392400f6a4
src/profiling/ProfilingUtils.cpp
src/profiling/test/TimelinePacketTests.cpp