Searched refs:remove_first (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-log.c | 158 static void write_lines(const char *p, size_t n, FILE *fp, bool *remove_first) in write_lines() argument 160 if (*remove_first) in write_lines() 161 *remove_first = !remove_first_line(&p, &n); in write_lines() 167 bool remove_first = false; in log_buf__dump() local 175 remove_first = true; in log_buf__dump() 176 write_lines(b->buf + b->head, b->buf_sz - b->head, b->backend, &remove_first); in log_buf__dump() 178 write_lines(b->buf, b->head, b->backend, &remove_first); in log_buf__dump()
|