Home
last modified time | relevance | path

Searched refs:phys_addr (Results 1 – 20 of 20) sorted by relevance

/tools/perf/scripts/python/
Dmem-phys-addr.py62 def is_system_ram(phys_addr): argument
64 position = bisect.bisect(system_ram, phys_addr)
69 def is_persistent_mem(phys_addr): argument
70 position = bisect.bisect(pmem, phys_addr)
75 def find_memory_type(phys_addr): argument
76 if phys_addr == 0:
78 if is_system_ram(phys_addr):
81 if is_persistent_mem(phys_addr):
88 if int(m[0], 16) <= phys_addr <= int(m[1], 16):
95 phys_addr = sample["phys_addr"]
[all …]
/tools/testing/nvdimm/
Dpmem-dax.c23 if (get_nfit_res(pmem->phys_addr + offset)) { in __pmem_direct_access()
40 *pfn = phys_to_pfn_t(pmem->phys_addr + offset, pmem->pfn_flags); in __pmem_direct_access()
/tools/perf/
Dbuiltin-mem.c31 bool phys_addr; member
100 if (mem->phys_addr) in __cmd_record()
164 if (mem->phys_addr) { in dump_raw_samples()
184 sample->phys_addr, in dump_raw_samples()
257 if (mem->phys_addr) in report_raw_events()
291 if (mem->phys_addr) in report_events()
297 } else if (mem->phys_addr) in report_events()
416 OPT_BOOLEAN('p', "phys-data", &mem.phys_addr, "Record/Report sample physical addresses"), in cmd_mem()
Dbuiltin-c2c.c226 if (!sample->phys_addr) { in c2c_he__set_node()
231 node = mem2node__node(&c2c.mem2node, sample->phys_addr); in c2c_he__set_node()
237 if (c2c_he->paddr != sample->phys_addr) { in c2c_he__set_node()
239 c2c_he->paddr = sample->phys_addr; in c2c_he__set_node()
Dbuiltin-script.c2008 fprintf(fp, "%16" PRIx64, sample->phys_addr); in process_event()
/tools/perf/util/
Dmap_symbol.h21 u64 phys_addr; member
Devent.h137 u64 phys_addr; member
Dmachine.c2021 ams->phys_addr = 0; in ip__resolve_ams()
2026 u64 addr, u64 phys_addr) in ip__resolve_data() argument
2039 ams->phys_addr = phys_addr; in ip__resolve_data()
2052 sample->addr, sample->phys_addr); in sample__resolve_mem()
Dsort.c1429 l = left->mem_info->daddr.phys_addr; in sort__phys_daddr_cmp()
1431 r = right->mem_info->daddr.phys_addr; in sort__phys_daddr_cmp()
1443 addr = he->mem_info->daddr.phys_addr; in hist_entry__phys_daddr_snprintf()
Devsel.c2365 data->phys_addr = 0; in evsel__parse_sample()
2367 data->phys_addr = *array; in evsel__parse_sample()
Dsynthetic-events.c1583 *array = sample->phys_addr; in perf_event__synthesize_sample()
Dsession.c1312 printf(" .. phys_addr: 0x%"PRIx64"\n", sample->phys_addr); in dump_sample()
/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c100 run->mmio.phys_addr == (uint64_t)ucall_exit_mmio_addr) { in get_ucall()
/tools/testing/selftests/kvm/
Dset_memory_region_test.c88 TEST_ASSERT(run->mmio.phys_addr == MEM_REGION_GPA, in vcpu_worker()
90 run->mmio.phys_addr); in vcpu_worker()
/tools/perf/tests/
Dsample-parsing.c152 COMP(phys_addr); in samples_same()
235 .phys_addr = 113, in do_test()
/tools/arch/s390/include/uapi/asm/
Dkvm.h206 __u64 phys_addr; member
/tools/include/uapi/linux/
Dkvm.h317 __u64 phys_addr; member
464 __u64 phys_addr; member
/tools/perf/Documentation/
Dperf-script.txt120 brstackoff, callindent, insn, insnlen, synth, phys_addr, metric, misc, srccode, ipc.
Dperf-script-python.txt618 ev_name, comm, pid, tid, cpu, ip, time, period, phys_addr, addr,
/tools/perf/util/scripting-engines/
Dtrace-event-python.c760 PyLong_FromUnsignedLongLong(sample->phys_addr)); in get_perf_sample_dict()