this is the same function as setup_reader */
| 194 | |
| 195 | /* this is the same function as setup_reader */ |
| 196 | static inline reader_t *open_trace(const char *path, const trace_type_e type, |
| 197 | const reader_init_param_t *reader_init_param) { |
| 198 | return setup_reader(path, type, reader_init_param); |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * get the number of requests from the trace |