Skip to content

Commit

Permalink
i#6662 public traces: allow v2p.textproto in trace dir
Browse files Browse the repository at this point in the history
Allows the v2p.textproto file to be in the trace directory
of public traces to avoid the following error:
```
$ drrun -t drmemtrace -indir ${path_to_public_trace_dir} -tool invariant_checker
Invalid header
Failed to initialize scheduler: Failed to open <OMITTED>/v2p.textproto
ERROR: failed to initialize analyzer
```

Issue #6662
  • Loading branch information
edeiana committed Dec 15, 2024
1 parent 1f67ae1 commit b86397c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/drcachesim/scheduler/scheduler_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ scheduler_impl_tmpl_t<RecordType, ReaderType>::open_readers(
// Skip the auxiliary files.
if (fname == DRMEMTRACE_MODULE_LIST_FILENAME ||
fname == DRMEMTRACE_FUNCTION_LIST_FILENAME ||
fname == DRMEMTRACE_ENCODING_FILENAME)
fname == DRMEMTRACE_ENCODING_FILENAME || fname == DRMEMTRACE_V2P_FILENAME)
continue;
const std::string file = path + DIRSEP + fname;
files.push_back(file);
Expand Down

0 comments on commit b86397c

Please sign in to comment.