/system/extras/libpagemap/ |
D | pm_process.c | 90 error = pm_map_usage_flags(proc->maps[i], &map_usage, flags_mask, in pm_process_usage_flags() 158 pm_map_t **maps; in pm_process_maps() local 164 maps = malloc(proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps() 165 if (!maps) in pm_process_maps() 168 memcpy(maps, proc->maps, proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps() 170 *maps_out = maps; in pm_process_maps() 198 error = pm_map_workingset(proc->maps[i], &map_ws); in pm_process_workingset() 233 pm_map_destroy(proc->maps[i]); in pm_process_destroy() 235 free(proc->maps); in pm_process_destroy() 251 pm_map_t *map, **maps, **new_maps; in read_maps() local [all …]
|
D | pagemap_test.cpp | 23 TEST(pagemap, maps) { in TEST() argument 30 pm_map_t** maps; in TEST() local 32 ASSERT_EQ(0, pm_process_maps(process, &maps, &num_maps)); in TEST() 37 std::string name(maps[i]->name); in TEST() 45 free(maps); in TEST()
|
/system/core/libbacktrace/ |
D | GetPss.cpp | 47 FILE* maps = fopen("/proc/self/maps", "r"); in GetPssBytes() local 48 if (maps == nullptr) { in GetPssBytes() 54 fclose(maps); in GetPssBytes() 60 fclose(maps); in GetPssBytes() 68 while (fgets(line, sizeof(line), maps)) { in GetPssBytes() 88 fclose(maps); in GetPssBytes()
|
D | backtrace_offline_test.cpp | 226 std::vector<backtrace_map_t> maps; member 245 testdata->maps.resize(testdata->maps.size() + 1); in ReadOfflineTestData() 246 backtrace_map_t& map = testdata->maps.back(); in ReadOfflineTestData() 301 for (auto& map : testdata.maps) { in BacktraceOfflineTest() 308 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(testdata.pid, testdata.maps)); in BacktraceOfflineTest() 375 for (auto& map : testdata.maps) { in TEST() 382 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(testdata.pid, testdata.maps)); in TEST() 395 uintptr_t vaddr_in_file = backtrace->GetFrame(i)->pc - testdata.maps[0].start + in TEST() 396 testdata.maps[0].load_base; in TEST()
|
D | BacktraceMap.cpp | 149 BacktraceMap* BacktraceMap::Create(pid_t pid, const std::vector<backtrace_map_t>& maps) { argument 151 backtrace_map->maps_.insert(backtrace_map->maps_.begin(), maps.begin(), maps.end());
|
/system/extras/simpleperf/ |
D | thread_tree.cpp | 63 *child->maps = *parent->maps; in ForkThread() 83 MapSet* maps = nullptr; in CreateThread() local 85 maps = new MapSet; in CreateThread() 86 map_set_storage_.push_back(std::unique_ptr<MapSet>(maps)); in CreateThread() 90 maps = process->maps; in CreateThread() 95 maps, in CreateThread() 136 FixOverlappedMap(thread->maps, map); in AddThreadMap() 137 auto pair = thread->maps->insert(map); in AddThreadMap() 156 void ThreadTree::FixOverlappedMap(MapSet* maps, const MapEntry* map) { in FixOverlappedMap() argument 157 for (auto it = maps->begin(); it != maps->end();) { in FixOverlappedMap() [all …]
|
D | thread_tree.h | 68 MapSet* maps; member 127 void FixOverlappedMap(MapSet* maps, const MapEntry* map);
|
D | inplace_sampler_lib.cpp | 264 std::vector<ThreadMmap> maps; in CheckMapChange() local 265 if (!GetThreadMmapsInProcess(getpid(), &maps)) { in CheckMapChange() 269 for (auto& map : maps) { in CheckMapChange()
|
D | dwarf_unwind.cpp | 116 std::vector<backtrace_map_t> bt_maps(thread.maps->size()); in UnwindCallChain() 118 for (auto& map : *thread.maps) { in UnwindCallChain()
|
/system/extras/ksmutils/ |
D | ksminfo.c | 62 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags); 75 pm_map_t **maps; in main() local 160 error = pm_process_maps(proc, &maps, &num_maps); in main() 168 if (read_pages(&kp, maps, num_maps, pr_flags) < 0) { in main() 169 free(maps); in main() 175 free(maps); in main() 190 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags) { in read_pages() argument 210 pid = pm_process_pid(maps[0]->proc); in read_pages() 211 ker = maps[0]->proc->ker; in read_pages() 231 error = pm_map_pagemap(maps[i], &pagemap, &map_len); in read_pages() [all …]
|
/system/extras/librank/ |
D | librank.c | 210 pm_map_t **maps; in main() local 343 error = pm_process_maps(proc, &maps, &num_maps); in main() 350 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len))) in main() 353 if (perm && (pm_map_flags(maps[j]) & PM_MAP_PERMISSIONS) != perm) in main() 356 li = get_library(pm_map_name(maps[j]), all); in main() 362 error = pm_map_usage_flags(maps[j], &map_usage, flags_mask, in main() 367 pm_map_name(maps[j]), proc->pid); in main()
|
/system/sepolicy/public/ |
D | untrusted_app_25.te | 4 ### Apps are labeled based on mac_permissions.xml (maps signer and 5 ### optionally package name to seinfo value) and seapp_contexts (maps UID
|
D | untrusted_app.te | 4 ### Apps are labeled based on mac_permissions.xml (maps signer and 5 ### optionally package name to seinfo value) and seapp_contexts (maps UID
|
D | dumpstate.te | 105 # Reading /proc/PID/maps of other processes
|
/system/sepolicy/private/ |
D | untrusted_app.te | 5 ### Apps are labeled based on mac_permissions.xml (maps signer and 6 ### optionally package name to seinfo value) and seapp_contexts (maps UID
|
D | untrusted_app_25.te | 7 ### Apps are labeled based on mac_permissions.xml (maps signer and 8 ### optionally package name to seinfo value) and seapp_contexts (maps UID
|
D | untrusted_app_all.te | 7 ### Apps are labeled based on mac_permissions.xml (maps signer and 8 ### optionally package name to seinfo value) and seapp_contexts (maps UID
|
D | incidentd.te | 58 # Reading /proc/PID/maps of other processes
|
/system/extras/app-launcher/ |
D | app-launcher | 355 launch_app com.google.android.apps.maps com.google.android.maps.MapsActivity > maps-$model 356 getstats maps-$model Maps
|
D | README | 69 adb shell 'simpleperf stat -a am start -W -n com.google.android.apps.maps/com.google.android.maps.M… 70 adb shell 'am force-stop com.google.android.apps.maps'
|
/system/extras/procmem/ |
D | procmem.c | 51 pm_map_t **maps; size_t num_maps; in main() local 129 error = pm_process_maps(proc, &maps, &num_maps); in main() 165 mi->map = maps[i]; in main()
|
/system/core/libbacktrace/include/backtrace/ |
D | BacktraceMap.h | 56 static BacktraceMap* Create(pid_t pid, const std::vector<backtrace_map_t>& maps);
|
/system/extras/simpleperf/scripts/ |
D | app_profiler.py | 229 maps = self.run_in_app_dir(['cat', '/proc/%d/maps' % self.app_pid]) 231 for item in maps.split():
|
/system/extras/libpagemap/include/pagemap/ |
D | pagemap.h | 95 pm_map_t **maps; member
|
/system/core/libmemunreachable/ |
D | README.md | 59 - `ProcessMappings.cpp`: Collects snapshots of `/proc/pid/maps`.
|