Skip to content

Commit

Permalink
Checkpoint: remove elsatic trace recording
Browse files Browse the repository at this point in the history
- Remove elastic tracing on tracing to avoid protoc version problem.
- checkpointing related functions will be merged into mastar soon.
  • Loading branch information
shinezyy committed Sep 8, 2023
1 parent 4e60b41 commit 5429318
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 7,790 deletions.
1,229 changes: 0 additions & 1,229 deletions include/inst_trace/inst.pb.h

This file was deleted.

982 changes: 0 additions & 982 deletions include/inst_trace/inst_dep_record.pb.h

This file was deleted.

972 changes: 0 additions & 972 deletions include/inst_trace/packet.pb.h

This file was deleted.

8 changes: 0 additions & 8 deletions include/inst_trace/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ class ElasticTrace

uint64_t instCount;
uint64_t tick;

public:
void init(const char *data_file, const char *inst_file);

void recordMem(uint64_t pc, uint64_t paddr);
void recordFetch(uint64_t pc, uint64_t inst_paddr);

void close();
};

extern ElasticTrace elasticTracer;
1 change: 1 addition & 0 deletions src/cpu/cpu-exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ static inline void debug_difftest(Decode *_this, Decode *next) {
IFDEF(CONFIG_DIFFTEST, difftest_step(_this->pc, next->pc));
}

extern void simpoint_profiling(uint64_t pc, bool is_control, uint64_t abs_instr_count);
uint64_t per_bb_profile(Decode *prev_s, Decode *s, bool control_taken) {
uint64_t abs_inst_count = get_abs_instr_count();
if (profiling_state == SimpointProfiling && profiling_started) {
Expand Down
Loading

0 comments on commit 5429318

Please sign in to comment.