/system/extras/libpagemap/ |
pm_map.c | 20 #include <pagemap/pagemap.h> 32 uint64_t *pagemap; local 41 error = pm_map_pagemap(map, &pagemap, &len); 49 if (!PM_PAGEMAP_PRESENT(pagemap[i])) 52 if (!PM_PAGEMAP_SWAPPED(pagemap[i])) { 55 error = pm_kernel_flags(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), 63 error = pm_kernel_count(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), 80 free(pagemap); 90 uint64_t *pagemap; local [all...] |
pm_map.h | 20 #include <pagemap/pagemap.h>
|
pm_memusage.c | 17 #include <pagemap/pagemap.h>
|
pm_kernel.c | 26 #include <pagemap/pagemap.h>
|
pm_process.c | 24 #include <pagemap/pagemap.h> 47 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid);
|
/external/chromium_org/tools/ |
multi-process-rss.py | 87 pagemap = procfs.ProcPagemap.load(pid, maps) 88 if not pagemap: 89 _LOGGER.warning('/proc/%d/pagemap not found.' % pid) 91 pagemap_dct[pid] = pagemap 93 for pid, pagemap in pagemap_dct.iteritems(): 94 for vma in pagemap.vma_internals.itervalues():
|
/system/extras/ksmutils/ |
ksminfo.c | 27 #include <pagemap/pagemap.h> 113 "does this kernel have pagemap?\n"); 192 uint64_t *pagemap; local 231 error = pm_map_pagemap(maps[i], &pagemap, &map_len); 233 fprintf(stderr, "warning: could not read the pagemap of %d\n", 238 error = pm_kernel_flags(ker, pagemap[j], &flags); 241 pagemap[i]); 271 free(pagemap); 279 rc = pm_kernel_count(ker, pagemap[j], &kp->pages[kp->len].count) [all...] |
/system/core/libmemtrack/ |
memtrack_test.c | 24 #include <pagemap/pagemap.h> 94 "does this kernel have pagemap?\n");
|
/system/extras/procmem/ |
procmem.c | 22 #include <pagemap/pagemap.h> 55 /* pagemap information */ 56 uint64_t *pagemap; int num_pages; local 105 "does this kernel have pagemap?\n"); 182 error = pm_map_pagemap(mi->map, &pagemap, &num_pages); 185 fprintf(stderr, "error getting pagemap for map.\n"); 193 mapentry = pagemap[j];
|
/external/oprofile/module/ |
op_util.c | 14 #include <linux/pagemap.h>
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
deep-heap-profile.h | 196 // Opens /proc/<pid>/pagemap and stores its file descriptor. 222 // Seeks to the offset of the open pagemap file. 226 // Reads a pagemap state from the current offset. 339 // Snapshots and calculates global stats from /proc/<pid>/maps and pagemap.
|
page_heap.h | 45 #include "pagemap.h" 203 // Allocates a big block of memory for the pagemap once we reach more than 228 typedef MapSelector<kAddressBits>::Type PageMap; 230 PageMap pagemap_;
|
deep-heap-profile.cc | 124 snprintf(filename, sizeof(filename), "/proc/%d/pagemap", 127 RAW_CHECK(pagemap_fd_ != -1, "Failed to open /proc/self/pagemap"); 153 // TODO(dmikurube): Read pagemap in bulk for speed. 158 RAW_LOG(0, "pagemap read failed @ %#llx %" PRId64 " bytes", 239 RAW_DCHECK(pagemap_fd_ != -1, "Failed to seek in /proc/self/pagemap"); 257 RAW_DCHECK(pagemap_fd_ != -1, "Failed to read from /proc/self/pagemap"); 856 continue; // Reading pagemap will fail in [vsyscall]. 880 // TODO(dmikurube): Stop double-counting pagemap. [all...] |
/external/chromium_org/tools/linux/ |
procfs.py | 504 """Reads and stores partial information in /proc/pid/pagemap. 507 See https://www.kernel.org/doc/Documentation/vm/pagemap.txt for details. 559 os.path.join('/proc', str(pid), 'pagemap'), os.O_RDONLY) 570 _LOGGER.warn('Failed to read pagemap at 0x%x in %d.' % (vma.begin, pid)) 667 def pagemap(self): member in class:_ProcessMemory 717 print 'pagemap: %d' % procs[pid].pagemap.vsize 723 print 'pagemap: %d' % procs[pid].pagemap.present
|
/system/extras/libpagemap/include/pagemap/ |
pagemap.h | 44 /* pm_kernel_t holds the state necessary to interface to the kernel's pagemap 54 * pagemap. */
|
/system/extras/librank/ |
librank.c | 27 #include <pagemap/pagemap.h> 322 "does this kernel have pagemap?\n");
|
/system/extras/procrank/ |
procrank.c | 26 #include <pagemap/pagemap.h> 168 "does this kernel have pagemap?\n");
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
page_heap.h | 45 #include "pagemap.h" 193 // Allocates a big block of memory for the pagemap once we reach more than 216 typedef MapSelector<kAddressBits>::Type PageMap; 218 PageMap pagemap_;
|
page_heap.cc | 206 // necessary. We do not bother resetting the stale pagemap 208 // care about the pagemap entries for the boundaries. 428 // memory for the page map. This prevents fragmentation by pagemap metadata
|
/external/chromium_org/third_party/tcmalloc/vendor/vsprojects/pagemap_unittest/ |
pagemap_unittest.vcproj | 136 RelativePath="..\..\src\pagemap.h">
|
/hardware/ti/omap3/dspbridge/inc/ |
host_os.h | 70 #include <linux/pagemap.h>
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
host_os.h | 66 #include <linux/pagemap.h>
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
pagemap_unittest.cc | 44 #include "pagemap.h"
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
pagemap_unittest.cc | 44 #include "pagemap.h"
|
/external/oprofile/module/x86/ |
op_fixmap.c | 16 #include <linux/pagemap.h>
|