/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | event.c | 621 struct machine *machine, u8 cpumode, in thread__find_addr_map() argument 630 al->cpumode = cpumode; in thread__find_addr_map() 638 if (cpumode == PERF_RECORD_MISC_KERNEL && perf_host) { in thread__find_addr_map() 642 } else if (cpumode == PERF_RECORD_MISC_USER && perf_host) { in thread__find_addr_map() 644 } else if (cpumode == PERF_RECORD_MISC_GUEST_KERNEL && perf_guest) { in thread__find_addr_map() 653 if (cpumode == PERF_RECORD_MISC_GUEST_USER && perf_guest) in thread__find_addr_map() 659 if ((cpumode == PERF_RECORD_MISC_GUEST_USER || in thread__find_addr_map() 660 cpumode == PERF_RECORD_MISC_GUEST_KERNEL) && in thread__find_addr_map() 663 if ((cpumode == PERF_RECORD_MISC_USER || in thread__find_addr_map() 664 cpumode == PERF_RECORD_MISC_KERNEL) && in thread__find_addr_map() [all …]
|
D | thread.h | 49 u8 cpumode, enum map_type type, u64 addr, 53 u8 cpumode, enum map_type type, u64 addr,
|
D | build-id.c | 26 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in build_id__mark_dso_hit() local 36 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, in build_id__mark_dso_hit()
|
D | machine.c | 1003 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in machine__process_mmap2_event() local 1012 if (cpumode == PERF_RECORD_MISC_GUEST_KERNEL || in machine__process_mmap2_event() 1013 cpumode == PERF_RECORD_MISC_KERNEL) { in machine__process_mmap2_event() 1050 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in machine__process_mmap_event() local 1059 if (cpumode == PERF_RECORD_MISC_GUEST_KERNEL || in machine__process_mmap_event() 1060 cpumode == PERF_RECORD_MISC_KERNEL) { in machine__process_mmap_event() 1233 u8 cpumode) in machine__resolve_mem() argument 1241 ip__resolve_data(machine, thr, cpumode, &mi->daddr, sample->addr); in machine__resolve_mem() 1272 u8 cpumode = PERF_RECORD_MISC_USER; in machine__resolve_callchain_sample() local 1295 cpumode = PERF_RECORD_MISC_HYPERVISOR; in machine__resolve_callchain_sample() [all …]
|
D | machine.h | 88 struct perf_sample *sample, u8 cpumode);
|
D | symbol.h | 182 u8 cpumode; member
|
D | hist.c | 182 unsigned int cpumode, u64 period) in hist_entry__add_cpumode_period() argument 184 switch (cpumode) { in hist_entry__add_cpumode_period() 401 hist_entry__add_cpumode_period(he, al->cpumode, period); in add_hist_entry()
|
D | session.c | 872 const u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in perf_session__find_machine_for_cpumode() local 875 ((cpumode == PERF_RECORD_MISC_GUEST_KERNEL) || in perf_session__find_machine_for_cpumode() 876 (cpumode == PERF_RECORD_MISC_GUEST_USER))) { in perf_session__find_machine_for_cpumode()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
D | code-reading.c | 136 static int read_object_code(u64 addr, size_t len, u8 cpumode, in read_object_code() argument 149 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, addr, in read_object_code() 214 if (cpumode == PERF_RECORD_MISC_KERNEL || in read_object_code() 215 cpumode == PERF_RECORD_MISC_GUEST_KERNEL) { in read_object_code() 253 u8 cpumode; in process_sample_event() local 266 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in process_sample_event() 268 return read_object_code(sample.ip, READLEN, cpumode, thread, machine, in process_sample_event()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
D | builtin-inject.c | 210 u8 cpumode; in perf_event__inject_buildid() local 212 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in perf_event__inject_buildid() 221 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, in perf_event__inject_buildid()
|
D | builtin-script.c | 356 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in print_sample_addr() local 363 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, in print_sample_addr() 366 thread__find_addr_map(thread, machine, cpumode, MAP__VARIABLE, in print_sample_addr()
|
D | builtin-report.c | 82 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in perf_report__add_mem_hist_entry() local 96 mi = machine__resolve_mem(machine, al->thread, sample, cpumode); in perf_report__add_mem_hist_entry()
|
D | builtin-top.c | 725 al.cpumode == PERF_RECORD_MISC_KERNEL) { in perf_event__process_sample()
|