Home
last modified time | relevance | path

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

/tools/perf/util/
Dcallchain.h183 struct callchain_cursor *cursor,
186 int callchain_merge(struct callchain_cursor *cursor,
193 static inline void callchain_cursor_reset(struct callchain_cursor *cursor) in callchain_cursor_reset() argument
197 cursor->nr = 0; in callchain_cursor_reset()
198 cursor->last = &cursor->first; in callchain_cursor_reset()
200 for (node = cursor->first; node != NULL; node = node->next) in callchain_cursor_reset()
204 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
210 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
212 cursor->curr = cursor->first; in callchain_cursor_commit()
213 cursor->pos = 0; in callchain_cursor_commit()
[all …]
Dcallchain.c559 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
563 node->val_nr = cursor->nr - cursor->pos; in fill_node()
567 cursor_node = callchain_cursor_current(cursor); in fill_node()
615 callchain_cursor_advance(cursor); in fill_node()
616 cursor_node = callchain_cursor_current(cursor); in fill_node()
623 struct callchain_cursor *cursor, in add_child() argument
632 if (fill_node(new, cursor) < 0) { in add_child()
764 struct callchain_cursor *cursor, in split_add_child() argument
796 if (idx_total < cursor->nr) { in split_add_child()
807 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
Devsel_fprintf.c103 unsigned int print_opts, struct callchain_cursor *cursor, in sample__fprintf_callchain() argument
123 callchain_cursor_commit(cursor); in sample__fprintf_callchain()
128 node = callchain_cursor_current(cursor); in sample__fprintf_callchain()
214 callchain_cursor_advance(cursor); in sample__fprintf_callchain()
223 struct callchain_cursor *cursor, FILE *fp) in sample__fprintf_sym() argument
233 if (cursor != NULL) { in sample__fprintf_sym()
235 print_opts, cursor, fp); in sample__fprintf_sym()
Dmachine.c1789 struct callchain_cursor *cursor, in add_callchain_ip() argument
1827 callchain_cursor_reset(cursor); in add_callchain_ip()
1845 callchain_cursor_reset(cursor); in add_callchain_ip()
1857 return callchain_cursor_append(cursor, al.addr, al.map, al.sym, in add_callchain_ip()
1952 struct callchain_cursor *cursor, in resolve_lbr_callchain_sample() argument
2024 err = add_callchain_ip(thread, cursor, parent, in resolve_lbr_callchain_sample()
2038 struct callchain_cursor *cursor, in thread__resolve_callchain_sample() argument
2057 err = resolve_lbr_callchain_sample(thread, cursor, sample, parent, in thread__resolve_callchain_sample()
2119 err = add_callchain_ip(thread, cursor, parent, in thread__resolve_callchain_sample()
2126 err = add_callchain_ip(thread, cursor, parent, root_al, in thread__resolve_callchain_sample()
[all …]
Devsel.h411 struct callchain_cursor *cursor, FILE *fp);
415 struct callchain_cursor *cursor, FILE *fp);
Dmachine.h151 struct callchain_cursor *cursor,
Dhist.c959 struct callchain_cursor cursor; in iter_add_next_cumulative_entry() local
961 callchain_cursor_snapshot(&cursor, &callchain_cursor); in iter_add_next_cumulative_entry()
986 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
/tools/perf/
Dbuiltin-timechart.c203 struct per_pid *cursor = tchart->all_data; in find_create_pid() local
205 while (cursor) { in find_create_pid()
206 if (cursor->pid == pid) in find_create_pid()
207 return cursor; in find_create_pid()
208 cursor = cursor->next; in find_create_pid()
210 cursor = zalloc(sizeof(*cursor)); in find_create_pid()
211 assert(cursor != NULL); in find_create_pid()
212 cursor->pid = pid; in find_create_pid()
213 cursor->next = tchart->all_data; in find_create_pid()
214 tchart->all_data = cursor; in find_create_pid()
[all …]
Dbuiltin-sched.c272 struct callchain_cursor cursor; member
2054 struct callchain_cursor *cursor = &callchain_cursor; in save_task_callchain() local
2067 if (thread__resolve_callchain(thread, cursor, evsel, sample, in save_task_callchain()
2075 callchain_cursor_commit(cursor); in save_task_callchain()
2081 node = callchain_cursor_current(cursor); in save_task_callchain()
2093 callchain_cursor_advance(cursor); in save_task_callchain()
2109 callchain_cursor_reset(&itr->cursor); in init_idle_thread()
2198 callchain_cursor__copy(&itr->cursor, &callchain_cursor); in save_idle_callchain()
2542 if (itr->cursor.nr) in timehist_sched_change_event()
2543 callchain_append(&itr->callchain, &itr->cursor, t - tprev); in timehist_sched_change_event()
Dbuiltin-script.c1051 struct callchain_cursor *cursor = NULL; in print_sample_bts() local
1056 cursor = &callchain_cursor; in print_sample_bts()
1058 if (cursor == NULL) { in print_sample_bts()
1067 sample__fprintf_sym(sample, al, 0, print_opts, cursor, stdout); in print_sample_bts()
1435 struct callchain_cursor *cursor = NULL; in process_event() local
1440 cursor = &callchain_cursor; in process_event()
1442 putchar(cursor ? '\n' : ' '); in process_event()
1443 sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor, stdout); in process_event()
Dbuiltin-trace.c1613 struct callchain_cursor *cursor) in trace__resolve_callchain() argument
1618 thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, trace->max_stack)) in trace__resolve_callchain()
/tools/perf/ui/browsers/
Dannotate.c287 static bool is_fused(struct annotate_browser *ab, struct disasm_line *cursor) in is_fused() argument
289 struct disasm_line *pos = list_prev_entry(cursor, node); in is_fused()
300 if (!name || !cursor->ins.name) in is_fused()
303 return ins__is_fused(ab->arch, name, cursor->ins.name); in is_fused()
309 struct disasm_line *cursor = ab->selection, *target; in annotate_browser__draw_current_jump() local
321 if (!disasm_line__is_valid_jump(cursor, sym)) in annotate_browser__draw_current_jump()
324 target = ab->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
328 bcursor = disasm_line__browser(cursor); in annotate_browser__draw_current_jump()
347 if (is_fused(ab, cursor)) { in annotate_browser__draw_current_jump()
/tools/power/pm-graph/
Danalyze_suspend.py3809 ….timeline {position:relative;font-size:14px;cursor:pointer;width:100%; overflow:hidden;background:…
3825 ….legend .square {position:absolute;cursor:pointer;top:10px; width:0px;height:20px;border:1px solid…