import-trace: introduce RegisterImporter
The RegisterImporter disassembles the binary and adds a trace event for each byte read or written from register. The register number (Fail Register Numbers are used) and the offset within the register are encoded within the trace event. Change-Id: I2d2fd720841fedeeff5f28b64f24ec5f6d2ea0c3
This commit is contained in:
@ -64,6 +64,12 @@ public:
|
||||
Importer() : m_sanitychecks(false), m_row_count(0), m_time_trace_start(0) {}
|
||||
bool init(const std::string &variant, const std::string &benchmark, fail::Database *db);
|
||||
|
||||
/**
|
||||
* Callback function that can be used to add command line options
|
||||
* to the cmd interface
|
||||
*/
|
||||
virtual bool cb_commandline_init() { return true; }
|
||||
|
||||
virtual bool create_database();
|
||||
virtual bool copy_to_database(fail::ProtoIStream &ps);
|
||||
virtual bool clear_database();
|
||||
|
||||
Reference in New Issue
Block a user