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
26 lines
733 B
CMake
26 lines
733 B
CMake
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 ##
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}/../src/core)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../src/core)
|
|
|
|
if(BUILD_IMPORT_TRACE)
|
|
add_subdirectory(import-trace)
|
|
endif(BUILD_IMPORT_TRACE)
|
|
|
|
if(BUILD_PRUNE_TRACE)
|
|
add_subdirectory(prune-trace)
|
|
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)
|