/tools/perf/ |
D | builtin-mem.c | 40 struct perf_mem *mem = *(struct perf_mem **)opt->value; in parse_record_events() local 49 mem->operation = 0; in parse_record_events() 61 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record() argument 68 OPT_CALLBACK('e', "event", &mem, "event", in __cmd_record() 89 if (mem->operation & MEM_OPERATION_LOAD) in __cmd_record() 92 if (mem->operation & MEM_OPERATION_STORE) in __cmd_record() 100 if (mem->phys_addr) in __cmd_record() 148 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() local 158 if (al.filtered || (mem->hide_unresolved && al.sym == NULL)) in dump_raw_samples() 164 if (mem->phys_addr) { in dump_raw_samples() [all …]
|
/tools/power/cpupower/debug/i386/ |
D | dump_psb.c | 154 char *mem = NULL; in main() local 184 mem = mmap(mem, 0x100000 - 0xc0000, PROT_READ, MAP_SHARED, fd, 0xc0000); in main() 187 for (p = mem; p - mem < LEN; p+=16) { in main() 194 munmap(mem, LEN); in main()
|
/tools/testing/selftests/memory-hotplug/ |
D | Makefile | 6 TEST_PROGS := mem-on-off-test.sh 9 …@/bin/bash ./mem-on-off-test.sh -r 10 && echo "memory-hotplug selftests: [PASS]" || echo "memory-h…
|
/tools/perf/bench/ |
D | Build | 4 perf-y += mem-functions.o 17 perf-$(CONFIG_X86_64) += mem-memcpy-x86-64-asm.o 18 perf-$(CONFIG_X86_64) += mem-memset-x86-64-asm.o
|
/tools/perf/Documentation/ |
D | perf-mem.txt | 1 perf-mem(1) 6 perf-mem - Profile memory accesses 11 'perf mem' [<options>] (record [<command>] | report) 15 "perf mem record" runs a command and gathers memory operation data 18 "perf mem report" displays the result. It invokes perf report with the 70 Event selector. Use 'perf mem record -e list' to list available events.
|
D | perf-bench.txt | 55 'mem':: 151 SUITES FOR 'mem' 203 *mem*::
|
D | perf-c2c.txt | 52 Configure mem-loads latency. (x86 only) 138 cpu/mem-loads,ldlat=30/P 139 cpu/mem-stores/P 143 cpu/mem-loads/ 144 cpu/mem-stores/ 311 linkperf:perf-record[1], linkperf:perf-mem[1]
|
/tools/virtio/ |
D | virtio_test.c | 46 struct vhost_memory *mem; member 141 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init() 142 sizeof dev->mem->regions[0]); in vdev_info_init() 143 assert(dev->mem); in vdev_info_init() 144 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init() 145 sizeof dev->mem->regions[0]); in vdev_info_init() 146 dev->mem->nregions = 1; in vdev_info_init() 147 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init() 148 dev->mem->regions[0].userspace_addr = (long)dev->buf; in vdev_info_init() 149 dev->mem->regions[0].memory_size = dev->buf_size; in vdev_info_init() [all …]
|
/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 532 void *mem; in acpi_os_allocate() local 534 mem = (void *)malloc((size_t) size); in acpi_os_allocate() 535 return (mem); in acpi_os_allocate() 553 void *mem; in acpi_os_allocate_zeroed() local 555 mem = (void *)calloc(1, (size_t) size); in acpi_os_allocate_zeroed() 556 return (mem); in acpi_os_allocate_zeroed() 572 void acpi_os_free(void *mem) in acpi_os_free() argument 575 free(mem); in acpi_os_free()
|
/tools/testing/selftests/bpf/progs/ |
D | test_xdp_meta.c | 9 #define ctx_ptr(ctx, mem) (void *)(unsigned long)ctx->mem argument
|
/tools/testing/selftests/kvm/ |
D | set_memory_region_test.c | 346 void *mem; in test_add_max_memory_regions() local 368 mem = mmap(NULL, MEM_REGION_SIZE, PROT_READ | PROT_WRITE, in test_add_max_memory_regions() 370 TEST_ASSERT(mem != MAP_FAILED, "Failed to mmap() host"); in test_add_max_memory_regions() 374 MEM_REGION_SIZE, (uint64_t) mem}); in test_add_max_memory_regions() 378 munmap(mem, MEM_REGION_SIZE); in test_add_max_memory_regions()
|
/tools/power/pm-graph/config/ |
D | suspend.cfg | 21 # e.g. standby, mem, freeze, disk (default: mem) 22 mode: mem 43 # command: echo mem > /sys/power/state
|
D | suspend-callgraph.cfg | 22 # e.g. standby, mem, freeze, disk (default: mem) 23 mode: mem 44 # command: echo mem > /sys/power/state
|
D | suspend-dev.cfg | 21 # e.g. standby, mem, freeze, disk (default: mem) 22 mode: mem 43 # command: echo mem > /sys/power/state
|
D | suspend-x2-proc.cfg | 21 # e.g. standby, mem, freeze, disk (default: mem) 22 mode: mem 43 # command: echo mem > /sys/power/state
|
D | example.cfg | 21 # e.g. standby, mem, freeze, disk (default: mem) 22 mode: mem 67 # command: echo mem > /sys/power/state
|
D | standby.cfg | 21 # e.g. standby, mem, freeze, disk (default: mem)
|
D | freeze.cfg | 21 # e.g. standby, mem, freeze, disk (default: mem)
|
D | standby-callgraph.cfg | 22 # e.g. standby, mem, freeze, disk (default: mem)
|
/tools/perf/scripts/python/bin/ |
D | mem-phys-addr-report | 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/mem-phys-addr.py
|
/tools/perf/util/ |
D | parse-events.l | 194 %x mem 308 <mem>{ 358 mem-loads | 359 mem-stores | 379 mem: { BEGIN(mem); return PE_PREFIX_MEM; }
|
D | cputopo.c | 241 u64 mem; in load_numa_node() local 255 if (sscanf(buf, "%*s %*d %31s %"PRIu64, field, &mem) != 2) in load_numa_node() 258 node->mem_total = mem; in load_numa_node() 260 node->mem_free = mem; in load_numa_node()
|
/tools/usb/usbip/libsrc/ |
D | names.c | 144 void *mem; member 157 p->mem = calloc(1, size); in my_malloc() 158 if (!p->mem) { in my_malloc() 166 return p->mem; in my_malloc() 179 if (pool->mem) in names_free() 180 free(pool->mem); in names_free()
|
/tools/power/pm-graph/ |
D | README | 129 ['freeze', 'mem', 'disk'] 131 Execute a test using one of the available power modes, e.g. mem (S3): 133 %> sudo ./sleepgraph.py -m mem -rtcwake 15 169 %> sudo ./sleepgraph.py -m mem -rtcwake 15 -mindev 1 -dev 193 %> sudo ./sleepgraph.py -m mem -rtcwake 15 -x2 -x2delay 1000 -predelay 1000 -postdelay 1000 -proc 230 Mode to initiate for suspend e.g. mem, freeze, standby (default: mem). 277 %> sudo ./sleepgraph.py -m mem -rtcwake 10 -dev -gzip -multi 2000 0 281 %> sudo ./sleepgraph.py -m mem -rtcwake 10 -dev -gzip -multi 2000 0 -skiphtml 306 Simple suspend/resume with basic timeline (mem/freeze/standby) 311 Dev mode suspend/resume with dev timeline (mem/freeze/standby) [all …]
|
/tools/perf/arch/powerpc/util/ |
D | Build | 4 perf-y += mem-events.o
|