Home
last modified time | relevance | path

Searched refs:cpr (Results 1 – 7 of 7) sorted by relevance

/tools/perf/util/
Dcall-path.c28 struct call_path_root *cpr; in call_path_root__new() local
30 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new()
31 if (!cpr) in call_path_root__new()
33 call_path__init(&cpr->call_path, NULL, NULL, 0, false); in call_path_root__new()
34 INIT_LIST_HEAD(&cpr->blocks); in call_path_root__new()
35 return cpr; in call_path_root__new()
38 void call_path_root__free(struct call_path_root *cpr) in call_path_root__free() argument
42 list_for_each_entry_safe(pos, n, &cpr->blocks, node) { in call_path_root__free()
46 free(cpr); in call_path_root__free()
49 static struct call_path *call_path__new(struct call_path_root *cpr, in call_path__new() argument
[all …]
Dcall-path.h62 void call_path_root__free(struct call_path_root *cpr);
64 struct call_path *call_path__findnew(struct call_path_root *cpr,
Dthread-stack.c761 crp->cpr = call_path_root__new(); in call_return_processor__new()
762 if (!crp->cpr) in call_return_processor__new()
776 call_path_root__free(crp->cpr); in call_return_processor__free()
863 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__bottom() local
878 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
908 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__no_call_return() local
909 struct call_path *root = &cpr->call_path; in thread_stack__no_call_return()
927 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
957 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
967 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
[all …]
Ddb-export.c216 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample()
263 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample()
273 if (current == &dbe->cpr->call_path) { in call_path_from_sample()
382 if (dbe->cpr) { in db_export__sample()
Dthread-stack.h77 struct call_path_root *cpr; member
Ddb-export.h66 struct call_path_root *cpr; member
/tools/perf/util/scripting-engines/
Dtrace-event-python.c1742 tables->dbe.cpr = NULL; in set_table_handlers()
1760 tables->dbe.cpr = tables->dbe.crp->cpr; in set_table_handlers()
1762 tables->dbe.cpr = call_path_root__new(); in set_table_handlers()
1764 if (!tables->dbe.cpr) in set_table_handlers()