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:
11
tools/convert-trace/Gem5Converter.hpp
Normal file
11
tools/convert-trace/Gem5Converter.hpp
Normal file
@ -0,0 +1,11 @@
|
||||
#ifndef __GEM5CONVERTER_HPP__
|
||||
#define __GEM5CONVERTER_HPP__
|
||||
|
||||
#include "FormatConverter.hpp"
|
||||
|
||||
class Gem5Converter : public FormatConverter {
|
||||
public:
|
||||
Gem5Converter(std::istream& input, fail::ProtoOStream& ps) : FormatConverter(input, ps) {}
|
||||
bool convert();
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user