import-trace: add --cover-memorymap switch
This compatibility-breaking change introduces the --cover-memorymap switch to import-trace. It makes a previous behavior optional, which enforces DB entries for addresses covered by the --memorymap that don't occur in the trace. This creates a continuous and potentially very large fault space in the DB, which never made any real sense. Change-Id: I47e412bb621b595748c1772e02d2577308be8664
This commit is contained in:
@ -146,10 +146,11 @@ bool Importer::copy_to_database(fail::ProtoIStream &ps) {
|
||||
LOG << "trace duration: " << std::dec << (curtime - m_time_trace_start) << " ticks" << std::endl;
|
||||
LOG << "Inserted " << m_row_count << " real trace events into the database" << std::endl;
|
||||
|
||||
|
||||
/* All addresses that were specified in the memory map get an open
|
||||
EC */
|
||||
open_unused_ec_intervals();
|
||||
if (m_cover_memorymap) {
|
||||
/* All addresses that were specified in the memory map get an open
|
||||
EC */
|
||||
open_unused_ec_intervals();
|
||||
}
|
||||
|
||||
/* Close all open EC intervals */
|
||||
if (!close_ec_intervals()) {
|
||||
|
||||
Reference in New Issue
Block a user