tools/import-trace: new tool to import traces into MySQL database

The import tool does support the following import strategies:

- BasicImporter: generates def-use equivalence classes for read and
  write memory accesses
- DCiAOKernelImporter: generates equivalence classes for read access in
  the ciao kernel space.

Change-Id: I8960561d3e14dcf5dffa3ff7a59b61a5e8f7e719
This commit is contained in:
Christian Dietrich
2013-03-15 18:41:19 +01:00
parent 4e8098a636
commit e3c633c248
14 changed files with 765 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#ifndef __BASIC_IMPORTER_H__
#define __BASIC_IMPORTER_H__
#include "Importer.hpp"
class BasicImporter : public Importer {
public:
virtual bool create_database();
bool add_trace_event(instruction_count_t begin,
instruction_count_t end,
const Trace_Event &event,
bool is_fake = false);
};
#endif