Skip to content

Commit

Permalink
Comment clarifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav92003 committed Dec 8, 2023
1 parent 9f11cf4 commit 9cb2820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion clients/drcachesim/common/trace_entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,8 @@ typedef enum {
* a separate component. This will make it easier to manually append, update, or
* inspect the individual templates, and also allow streaming the component with the
* required template when needed instead of reading the complete file into memory
* ahead of time.
* ahead of time. Note that we may drop support for non-zipfile template files in
* the future.
*/
OFFLINE_FILE_TYPE_KERNEL_SYSCALL_TRACE_TEMPLATES = 0x4000,
} offline_file_type_t;
Expand Down
2 changes: 0 additions & 2 deletions clients/drcachesim/tests/burst_syscall_inject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@ look_for_syscall_trace(void *dr_context, std::string trace_dir)
case TRACE_MARKER_TYPE_SYSCALL_TRACE_START:
syscall_trace_num = memref.marker.marker_value;
if (syscall_trace_num != prev_syscall_num_marker_saved ||
// We assume there would not be a chunk split between the sysnum
// marker and the trace start marker for this short trace.
prev_syscall_num_marker_saved == -1) {
std::cerr << "Found unexpected trace for system call "
<< syscall_trace_num
Expand Down

0 comments on commit 9cb2820

Please sign in to comment.