/tools/perf/util/ |
D | event.c | 595 struct addr_location *al) in thread__find_addr_map() argument 599 al->thread = self; in thread__find_addr_map() 600 al->addr = addr; in thread__find_addr_map() 601 al->cpumode = cpumode; in thread__find_addr_map() 602 al->filtered = false; in thread__find_addr_map() 605 al->map = NULL; in thread__find_addr_map() 610 al->level = 'k'; in thread__find_addr_map() 613 al->level = '.'; in thread__find_addr_map() 615 al->level = 'g'; in thread__find_addr_map() 623 al->level = 'u'; in thread__find_addr_map() [all …]
|
D | unwind.c | 272 struct addr_location al; in find_map() local 275 MAP__FUNCTION, ip, &al); in find_map() 276 return al.map; in find_map() 348 struct addr_location al; in access_dso_mem() local 352 MAP__FUNCTION, addr, &al); in access_dso_mem() 353 if (!al.map) { in access_dso_mem() 358 if (!al.map->dso) in access_dso_mem() 361 size = dso__data_read_addr(al.map->dso, al.map, ui->machine, in access_dso_mem() 472 struct addr_location al; in entry() local 476 MAP__FUNCTION, ip, &al, NULL); in entry() [all …]
|
D | build-id.c | 25 struct addr_location al; in build_id__mark_dso_hit() local 36 event->ip.ip, &al); in build_id__mark_dso_hit() 38 if (al.map != NULL) in build_id__mark_dso_hit() 39 al.map->dso->hit = 1; in build_id__mark_dso_hit()
|
D | hist.c | 335 struct addr_location *al, in add_hist_entry() argument 390 hist_entry__add_cpumode_period(he, al->cpumode, period); in add_hist_entry() 397 struct addr_location *al, in __hists__add_mem_entry() argument 404 .thread = al->thread, in __hists__add_mem_entry() 406 .map = al->map, in __hists__add_mem_entry() 407 .sym = al->sym, in __hists__add_mem_entry() 414 .cpu = al->cpu, in __hists__add_mem_entry() 415 .ip = al->addr, in __hists__add_mem_entry() 416 .level = al->level, in __hists__add_mem_entry() 423 return add_hist_entry(self, &entry, al, period, weight); in __hists__add_mem_entry() [all …]
|
D | machine.c | 1081 struct addr_location al; in ip__resolve_ams() local 1085 memset(&al, 0, sizeof(al)); in ip__resolve_ams() 1097 ip, &al, NULL); in ip__resolve_ams() 1098 if (al.sym) in ip__resolve_ams() 1103 ams->al_addr = al.addr; in ip__resolve_ams() 1104 ams->sym = al.sym; in ip__resolve_ams() 1105 ams->map = al.map; in ip__resolve_ams() 1111 struct addr_location al; in ip__resolve_data() local 1113 memset(&al, 0, sizeof(al)); in ip__resolve_data() 1115 thread__find_addr_location(thread, machine, m, MAP__VARIABLE, addr, &al, in ip__resolve_data() [all …]
|
D | thread.h | 43 struct addr_location *al); 47 struct addr_location *al,
|
D | hist.h | 83 struct addr_location *al, 93 struct addr_location *al, 100 struct addr_location *al,
|
D | trace-event-scripting.c | 42 struct addr_location *al __maybe_unused) in process_event_unsupported()
|
D | trace-event.h | 86 struct addr_location *al);
|
D | session.c | 1388 struct addr_location al; in perf_evsel__print_ip() local 1391 if (perf_event__preprocess_sample(event, machine, &al, sample, in perf_evsel__print_ip() 1401 if (machine__resolve_callchain(machine, evsel, al.thread, in perf_evsel__print_ip() 1434 symbol__fprintf_symname_offs(al.sym, &al, in perf_evsel__print_ip() 1437 symbol__fprintf_symname(al.sym, stdout); in perf_evsel__print_ip() 1442 map__fprintf_dsoname(al.map, stdout); in perf_evsel__print_ip()
|
D | event.h | 218 struct addr_location *al,
|
D | symbol.h | 232 const struct addr_location *al, FILE *fp);
|
D | symbol.c | 244 const struct addr_location *al, FILE *fp) in symbol__fprintf_symname_offs() argument 251 if (al) { in symbol__fprintf_symname_offs() 252 offset = al->addr - sym->start; in symbol__fprintf_symname_offs()
|
/tools/perf/ |
D | builtin-mem.c | 69 struct addr_location al; in dump_raw_samples() local 72 if (perf_event__preprocess_sample(event, machine, &al, sample, in dump_raw_samples() 79 if (al.filtered || (mem->hide_unresolved && al.sym == NULL)) in dump_raw_samples() 82 if (al.map != NULL) in dump_raw_samples() 83 al.map->dso->hit = 1; in dump_raw_samples() 107 al.map ? (al.map->dso ? al.map->dso->long_name : "???") : "???", in dump_raw_samples() 108 al.sym ? al.sym->name : "???"); in dump_raw_samples()
|
D | builtin-annotate.c | 48 struct addr_location *al, in perf_evsel__add_sample() argument 55 (al->sym == NULL || in perf_evsel__add_sample() 56 strcmp(ann->sym_hist_filter, al->sym->name) != 0)) { in perf_evsel__add_sample() 58 if (al->sym != NULL) { in perf_evsel__add_sample() 59 rb_erase(&al->sym->rb_node, in perf_evsel__add_sample() 60 &al->map->dso->symbols[al->map->type]); in perf_evsel__add_sample() 61 symbol__delete(al->sym); in perf_evsel__add_sample() 66 he = __hists__add_entry(&evsel->hists, al, NULL, 1, 1); in perf_evsel__add_sample() 76 ret = hist_entry__inc_addr_samples(he, evsel->idx, al->addr); in perf_evsel__add_sample() 91 struct addr_location al; in process_sample_event() local [all …]
|
D | builtin-report.c | 69 struct addr_location *al, in perf_report__add_mem_hist_entry() argument 85 err = machine__resolve_callchain(machine, evsel, al->thread, in perf_report__add_mem_hist_entry() 91 mi = machine__resolve_mem(machine, al->thread, sample, cpumode); in perf_report__add_mem_hist_entry() 95 if (rep->hide_unresolved && !al->sym) in perf_report__add_mem_hist_entry() 109 he = __hists__add_mem_entry(&evsel->hists, al, parent, mi, cost, cost); in perf_report__add_mem_hist_entry() 126 err = hist_entry__inc_addr_samples(he, evsel->idx, al->addr); in perf_report__add_mem_hist_entry() 162 struct addr_location *al, in perf_report__add_branch_hist_entry() argument 176 err = machine__resolve_callchain(machine, evsel, al->thread, in perf_report__add_branch_hist_entry() 182 bi = machine__resolve_bstack(machine, al->thread, in perf_report__add_branch_hist_entry() 194 he = __hists__add_branch_entry(&evsel->hists, al, parent, in perf_report__add_branch_hist_entry() [all …]
|
D | builtin-inject.c | 206 struct addr_location al; in perf_event__inject_buildid() local 220 event->ip.ip, &al); in perf_event__inject_buildid() 222 if (al.map != NULL) { in perf_event__inject_buildid() 223 if (!al.map->dso->hit) { in perf_event__inject_buildid() 224 al.map->dso->hit = 1; in perf_event__inject_buildid() 225 if (map__load(al.map, NULL) >= 0) { in perf_event__inject_buildid() 226 dso__inject_build_id(al.map->dso, tool, machine); in perf_event__inject_buildid() 235 al.map->dso->long_name); in perf_event__inject_buildid()
|
D | builtin-script.c | 334 struct addr_location al; in print_sample_addr() local 343 sample->addr, &al); in print_sample_addr() 344 if (!al.map) in print_sample_addr() 346 sample->addr, &al); in print_sample_addr() 348 al.cpu = sample->cpu; in print_sample_addr() 349 al.sym = NULL; in print_sample_addr() 351 if (al.map) in print_sample_addr() 352 al.sym = map__find_symbol(al.map, al.addr, NULL); in print_sample_addr() 357 symbol__fprintf_symname_offs(al.sym, &al, stdout); in print_sample_addr() 359 symbol__fprintf_symname(al.sym, stdout); in print_sample_addr() [all …]
|
D | builtin-top.c | 249 struct addr_location *al, in perf_evsel__add_hist_entry() argument 254 he = __hists__add_entry(&evsel->hists, al, NULL, sample->period, in perf_evsel__add_hist_entry() 696 struct addr_location al; in perf_event__process_sample() local 722 if (perf_event__preprocess_sample(event, machine, &al, sample, in perf_event__process_sample() 724 al.filtered) in perf_event__process_sample() 729 al.cpumode == PERF_RECORD_MISC_KERNEL) { in perf_event__process_sample() 734 !RB_EMPTY_ROOT(&al.map->dso->symbols[MAP__FUNCTION]) ? in perf_event__process_sample() 741 if (al.sym == NULL) { in perf_event__process_sample() 755 al.map == machine->vmlinux_maps[MAP__FUNCTION] && in perf_event__process_sample() 756 RB_EMPTY_ROOT(&al.map->dso->symbols[MAP__FUNCTION])) { in perf_event__process_sample() [all …]
|
D | builtin-diff.c | 234 struct addr_location *al, u64 period, in hists__add_entry() argument 237 if (__hists__add_entry(self, al, NULL, period, weight) != NULL) in hists__add_entry() 248 struct addr_location al; in diff__process_sample_event() local 250 if (perf_event__preprocess_sample(event, machine, &al, sample, NULL) < 0) { in diff__process_sample_event() 256 if (al.filtered) in diff__process_sample_event() 259 if (hists__add_entry(&evsel->hists, &al, sample->period, sample->weight)) { in diff__process_sample_event()
|
/tools/perf/tests/ |
D | hists_link.c | 200 struct addr_location al; in add_hist_entries() local 222 if (perf_event__preprocess_sample(&event, machine, &al, in add_hist_entries() 226 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1); in add_hist_entries() 230 fake_common_samples[k].thread = al.thread; in add_hist_entries() 231 fake_common_samples[k].map = al.map; in add_hist_entries() 232 fake_common_samples[k].sym = al.sym; in add_hist_entries() 246 if (perf_event__preprocess_sample(&event, machine, &al, in add_hist_entries() 250 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1); in add_hist_entries() 254 fake_samples[i][k].thread = al.thread; in add_hist_entries() 255 fake_samples[i][k].map = al.map; in add_hist_entries() [all …]
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 228 struct addr_location *al) in python_process_tracepoint() argument 241 struct thread *thread = al->thread; in python_process_tracepoint() 348 struct addr_location *al) in python_process_general_event() argument 353 struct thread *thread = al->thread; in python_process_general_event() 382 if (al->map) { in python_process_general_event() 384 PyString_FromString(al->map->dso->name)); in python_process_general_event() 386 if (al->sym) { in python_process_general_event() 388 PyString_FromString(al->sym->name)); in python_process_general_event() 407 struct addr_location *al) in python_process_event() argument 412 machine, al); in python_process_event() [all …]
|
D | trace-event-perl.c | 264 struct addr_location *al) in perl_process_tracepoint() argument 275 struct thread *thread = al->thread; in perl_process_tracepoint() 354 struct addr_location *al __maybe_unused) in perl_process_event_generic() 380 struct addr_location *al) in perl_process_event() argument 382 perl_process_tracepoint(event, sample, evsel, machine, al); in perl_process_event() 383 perl_process_event_generic(event, sample, evsel, machine, al); in perl_process_event()
|
/tools/perf/Documentation/ |
D | perf-script-python.txt | 385 # ls -al kernel-source/tools/perf/scripts/python 387 root@tropicana:/home/trz/src/tip# ls -al tools/perf/scripts/python
|
/tools/power/cpupower/po/ |
D | it.po | 618 " postponendo l'unità di misura al valore senza nessuno spazio fra loro\n"
|