introduce convert-trace tool

The input (taken on stdin) is a gem5.opt --debug-flags=MemoryAccess
trace (--format gem5), or a dump-trace output (--format dump) for easy
trace synthesis (for testing purposes).

gem5 format: Currently imports physical, not virtual memory addresses.
dump format: Currently ignores extended trace information.

Change-Id: Ic26a996d6fb9ce4175c855fadcbcff9ac9263888
This commit is contained in:
Horst Schirmeier
2013-09-08 22:16:08 +02:00
parent e4a5a7a592
commit 9cd40842d2
9 changed files with 285 additions and 1 deletions

View File

@ -1,6 +1,7 @@
option(BUILD_DUMP_TRACE "Build the trace dump tool?" OFF)
option(BUILD_IMPORT_TRACE "Build the trace import tool?" OFF)
option(BUILD_PRUNE_TRACE "Build the trace prune tool?" OFF)
option(BUILD_CONVERT_TRACE "Build the trace converter tool?" OFF)
### Setup search paths for headers ##
@ -18,3 +19,7 @@ endif(BUILD_PRUNE_TRACE)
if(BUILD_DUMP_TRACE)
add_subdirectory(dump-trace)
endif(BUILD_DUMP_TRACE)
if(BUILD_CONVERT_TRACE)
add_subdirectory(convert-trace)
endif(BUILD_CONVERT_TRACE)