import-trace: add --no-write-ecs switch
If you only need raw failure counts, no-effect write equivalence classes are redundant and only slow down access to the trace and fspgroup tables. This switch prevents any accesstype='W' entries from finding their way into the trace table. Change-Id: Ifb415994063a2107769bc80ebd2fd780de5a4dda
This commit is contained in:
@ -249,6 +249,10 @@ bool Importer::add_trace_event(margin_info_t &begin, margin_info_t &end,
|
||||
|
||||
bool Importer::add_trace_event(margin_info_t &begin, margin_info_t &end,
|
||||
Trace_Event &event, bool is_fake) {
|
||||
if (!m_import_write_ecs && event.accesstype() == event.WRITE) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// insert extended trace info if configured and available
|
||||
bool extended = m_extended_trace && event.has_trace_ext();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user