Searched refs:last_line (Results 1 – 2 of 2) sorted by relevance
| /tools/testing/selftests/proc/ |
| A D | proc-maps-race.c | 74 struct line_content last_line; in FIXTURE() local 137 static void copy_last_line(struct page_content *page, char *last_line) in copy_last_line() argument 147 strncpy(last_line, pos, end - pos); in copy_last_line() 148 last_line[end - pos] = '\0'; in copy_last_line() 153 struct line_content *last_line, in read_boundary_lines() argument 159 copy_last_line(&self->page1, last_line->text); in read_boundary_lines() 162 return sscanf(last_line->text, "%lx-%lx", &last_line->start_addr, in read_boundary_lines() 163 &last_line->end_addr) == 2 && in read_boundary_lines() 316 return strcmp(restored_last_line->text, self->last_line.text) == 0 && in capture_mod_pattern() 484 ASSERT_TRUE(read_boundary_lines(self, &self->last_line, &self->first_line)); in FIXTURE_SETUP() [all …]
|
| /tools/perf/util/ |
| A D | genelf_debug.c | 301 unsigned int last_line, in get_special_opcode() argument 310 temp = (ent->lineno - last_line) - default_debug_line_header.line_base; in get_special_opcode() 358 int last_line = 1; in emit_lineno_info() local 377 special_opcode = get_special_opcode(ent, last_line, last_vma); in emit_lineno_info() 379 last_line = ent->lineno; in emit_lineno_info() 386 if (last_line != ent->lineno) { in emit_lineno_info() 387 emit_advance_lineno(be, ent->lineno - last_line); in emit_lineno_info() 388 last_line = ent->lineno; in emit_lineno_info()
|
Completed in 7 milliseconds