Home
last modified time | relevance | path

Searched refs:callchain_cursor (Results 1 – 15 of 15) sorted by relevance

/tools/perf/util/
Dcallchain.h163 struct callchain_cursor { struct
171 extern __thread struct callchain_cursor callchain_cursor; argument
197 struct callchain_cursor *cursor,
200 int callchain_merge(struct callchain_cursor *cursor,
203 void callchain_cursor_reset(struct callchain_cursor *cursor);
205 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
212 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit()
220 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current()
228 static inline void callchain_cursor_advance(struct callchain_cursor *cursor) in callchain_cursor_advance()
234 int callchain_cursor__copy(struct callchain_cursor *dst,
[all …]
Devsel_fprintf.h33 struct callchain_cursor;
37 unsigned int print_opts, struct callchain_cursor *cursor,
42 struct callchain_cursor *cursor,
Dcallchain.c60 __thread struct callchain_cursor callchain_cursor; variable
566 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node()
631 struct callchain_cursor *cursor, in add_child()
790 struct callchain_cursor *cursor, in split_add_child()
863 struct callchain_cursor *cursor,
868 struct callchain_cursor *cursor, in append_chain_children()
915 struct callchain_cursor *cursor, in append_chain()
978 struct callchain_cursor *cursor, in callchain_append()
996 merge_chain_branch(struct callchain_cursor *cursor, in merge_chain_branch()
1039 int callchain_merge(struct callchain_cursor *cursor, in callchain_merge()
[all …]
Devsel_fprintf.c104 unsigned int print_opts, struct callchain_cursor *cursor, in sample__fprintf_callchain()
199 struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_sym()
Ddb-export.c229 err = thread__resolve_callchain(thread, &callchain_cursor, evsel, in call_path_from_sample()
235 callchain_cursor_commit(&callchain_cursor); in call_path_from_sample()
244 node = callchain_cursor_current(&callchain_cursor); in call_path_from_sample()
267 callchain_cursor_advance(&callchain_cursor); in call_path_from_sample()
Dmachine.h182 struct callchain_cursor;
185 struct callchain_cursor *cursor,
Dhist.c1011 callchain_cursor_commit(&callchain_cursor); in iter_prepare_cumulative_entry()
1018 he_cache = malloc(sizeof(*he_cache) * (callchain_cursor.nr + 1)); in iter_prepare_cumulative_entry()
1053 callchain_cursor_commit(&callchain_cursor); in iter_add_single_cumulative_entry()
1066 node = callchain_cursor_current(&callchain_cursor); in iter_next_cumulative_entry()
1112 struct callchain_cursor cursor; in iter_add_next_cumulative_entry()
1115 callchain_cursor_snapshot(&cursor, &callchain_cursor); in iter_add_next_cumulative_entry()
1117 callchain_cursor_advance(&callchain_cursor); in iter_add_next_cumulative_entry()
1203 err = sample__resolve_callchain(iter->sample, &callchain_cursor, &iter->parent, in hist_entry_iter__add()
1545 callchain_cursor_reset(&callchain_cursor); in hists__hierarchy_insert_entry()
1546 if (callchain_merge(&callchain_cursor, in hists__hierarchy_insert_entry()
[all …]
Dmachine.c2085 struct callchain_cursor *cursor, in add_callchain_ip()
2247 struct callchain_cursor *cursor, in lbr_callchain_add_kernel_ip()
2281 struct callchain_cursor *cursor, in save_lbr_cursor_node()
2306 struct callchain_cursor *cursor, in lbr_callchain_add_lbr_ip()
2407 struct callchain_cursor *cursor) in lbr_callchain_add_stitched_lbr_ip()
2553 struct callchain_cursor *cursor, in resolve_lbr_callchain_sample()
2636 struct callchain_cursor *cursor, in find_prev_cpumode()
2657 struct callchain_cursor *cursor, in thread__resolve_callchain_sample()
2807 static int append_inlines(struct callchain_cursor *cursor, struct map_symbol *ms, u64 ip) in append_inlines()
2848 struct callchain_cursor *cursor = arg; in unwind_entry()
[all …]
/tools/perf/util/scripting-engines/
Dtrace-event-perl.c273 if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel, in perl_process_callchain()
278 callchain_cursor_commit(&callchain_cursor); in perl_process_callchain()
284 node = callchain_cursor_current(&callchain_cursor); in perl_process_callchain()
330 callchain_cursor_advance(&callchain_cursor); in perl_process_callchain()
Dtrace-event-python.c407 if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel, in python_process_callchain()
413 callchain_cursor_commit(&callchain_cursor); in python_process_callchain()
419 node = callchain_cursor_current(&callchain_cursor); in python_process_callchain()
454 callchain_cursor_advance(&callchain_cursor); in python_process_callchain()
/tools/perf/
Dbuiltin-kmem.c396 sample__resolve_callchain(sample, &callchain_cursor, NULL, evsel, &al, 16); in find_callsite()
398 callchain_cursor_commit(&callchain_cursor); in find_callsite()
403 node = callchain_cursor_current(&callchain_cursor); in find_callsite()
421 callchain_cursor_advance(&callchain_cursor); in find_callsite()
Dbuiltin-trace.c2389 struct callchain_cursor *cursor)
2412 …return sample__fprintf_callchain(sample, 38, print_opts, &callchain_cursor, symbol_conf.bt_stop_li…
2466 callchain_ret = trace__resolve_callchain(trace, evsel, sample, &callchain_cursor);
2468 if (callchain_cursor.nr < trace->min_stack)
2772 callchain_ret = trace__resolve_callchain(trace, evsel, sample, &callchain_cursor);
2774 if (callchain_cursor.nr < trace->min_stack)
2875 callchain_ret = trace__resolve_callchain(trace, evsel, sample, &callchain_cursor);
2877 if (callchain_cursor.nr < trace->min_stack)
Dbuiltin-script.c1446 struct callchain_cursor *cursor = NULL; in perf_sample__fprintf_bts()
1449 thread__resolve_callchain(al->thread, &callchain_cursor, evsel, in perf_sample__fprintf_bts()
1451 cursor = &callchain_cursor; in perf_sample__fprintf_bts()
1975 struct callchain_cursor *cursor = NULL; in process_event()
1981 thread__resolve_callchain(al->thread, &callchain_cursor, evsel, in process_event()
1983 cursor = &callchain_cursor; in process_event()
Dbuiltin-sched.c287 struct callchain_cursor cursor;
2067 &callchain_cursor, symbol_conf.bt_stop_list, stdout); in timehist_print_sample()
2152 struct callchain_cursor *cursor = &callchain_cursor; in save_task_callchain()
2297 callchain_cursor__copy(&itr->cursor, &callchain_cursor); in save_idle_callchain()
Dbuiltin-c2c.c280 ret = sample__resolve_callchain(sample, &callchain_cursor, NULL, in process_sample_event()