Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 6 of 6) sorted by relevance

/tools/perf/util/
Dcallchain.h117 struct callchain_cursor *cursor,
120 int callchain_merge(struct callchain_cursor *cursor,
127 static inline void callchain_cursor_reset(struct callchain_cursor *cursor) in callchain_cursor_reset() argument
129 cursor->nr = 0; in callchain_cursor_reset()
130 cursor->last = &cursor->first; in callchain_cursor_reset()
133 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
137 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
139 cursor->curr = cursor->first; in callchain_cursor_commit()
140 cursor->pos = 0; in callchain_cursor_commit()
145 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument
[all …]
Dcallchain.c433 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
437 node->val_nr = cursor->nr - cursor->pos; in fill_node()
441 cursor_node = callchain_cursor_current(cursor); in fill_node()
456 callchain_cursor_advance(cursor); in fill_node()
457 cursor_node = callchain_cursor_current(cursor); in fill_node()
463 struct callchain_cursor *cursor, in add_child() argument
469 fill_node(new, cursor); in add_child()
495 struct callchain_cursor *cursor, in split_add_child() argument
522 if (idx_total < cursor->nr) { in split_add_child()
531 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
Dhist.c788 struct callchain_cursor cursor; in iter_add_next_cumulative_entry() local
790 callchain_cursor_snapshot(&cursor, &callchain_cursor); in iter_add_next_cumulative_entry()
815 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
Dmachine.c1467 struct callchain_cursor *cursor = arg; in unwind_entry() local
1468 return callchain_cursor_append(cursor, entry->ip, in unwind_entry()
/tools/perf/
Dbuiltin-timechart.c198 struct per_pid *cursor = tchart->all_data; in find_create_pid() local
200 while (cursor) { in find_create_pid()
201 if (cursor->pid == pid) in find_create_pid()
202 return cursor; in find_create_pid()
203 cursor = cursor->next; in find_create_pid()
205 cursor = zalloc(sizeof(*cursor)); in find_create_pid()
206 assert(cursor != NULL); in find_create_pid()
207 cursor->pid = pid; in find_create_pid()
208 cursor->next = tchart->all_data; in find_create_pid()
209 tchart->all_data = cursor; in find_create_pid()
[all …]
/tools/perf/ui/browsers/
Dannotate.c213 struct disasm_line *cursor = ab->selection, *target; in annotate_browser__draw_current_jump() local
224 if (!disasm_line__is_valid_jump(cursor, sym)) in annotate_browser__draw_current_jump()
227 target = ab->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
231 bcursor = disasm_line__browser(cursor); in annotate_browser__draw_current_jump()