Searched refs:kernel_map (Results 1 – 2 of 2) sorted by relevance
/tools/perf/ |
D | builtin-report.c | 359 struct map *kernel_map = rep->session->machines.host.vmlinux_maps[MAP__FUNCTION]; in report__warn_kptr_restrict() local 360 struct kmap *kernel_kmap = map__kmap(kernel_map); in report__warn_kptr_restrict() 362 if (kernel_map == NULL || in report__warn_kptr_restrict() 363 (kernel_map->dso->hit && in report__warn_kptr_restrict() 370 if (kernel_map) { in report__warn_kptr_restrict() 371 const struct dso *kdso = kernel_map->dso; in report__warn_kptr_restrict()
|
/tools/perf/util/ |
D | symbol-elf.c | 1277 struct phdr_data kernel_map; member 1376 kcore_copy__map(&kci->kernel_map, start, end, pgoff, kci->stext, in kcore_copy__read_map() 1582 if (kcore__add_phdr(&extract, idx++, offset, kci.kernel_map.addr, in kcore_copy() 1583 kci.kernel_map.len)) in kcore_copy() 1587 modules_offset = offset + kci.kernel_map.len; in kcore_copy() 1597 if (copy_bytes(kcore.fd, kci.kernel_map.offset, extract.fd, offset, in kcore_copy() 1598 kci.kernel_map.len)) in kcore_copy()
|