/system/extras/boottime_tools/io_analysis/ |
D | check_file_read.py | 59 def add_if_single_block(self, container, size, offset, process_name): argument 62 offsets = container.get(process_name) 65 container[process_name] = offsets 68 def add_access(self, time, offset, size, process_name, read_sizes): argument 69 self.accesses.append((time, offset, size, process_name)) 75 self.add_if_single_block(self.block_single_block_accesses, s, read_offset, process_name) 79 self.add_if_single_block(self.ext4_single_block_accesses, size, offset, process_name) 129 def __init__(self, open_time, file_name, process_name, inode, flags): argument 134 self.processes.append((open_time, process_name, flags)) 139 def add_open(self, open_time, process_name, flags): argument [all …]
|
/system/extras/simpleperf/ |
D | MapRecordReader.cpp | 75 std::string process_name = GetCompleteProcessName(pid); in ReadProcessMaps() local 76 if (!process_name.empty()) { in ReadProcessMaps() 77 CommRecord record(attr_, pid, pid, process_name, event_id_, timestamp); in ReadProcessMaps() 88 if (android::base::EndsWith(process_name, name)) { in ReadProcessMaps() 89 name = process_name; in ReadProcessMaps()
|
D | RecordFilter.cpp | 86 bool AddProcessNameRegex(const std::string& process_name, bool exclude) { in AddProcessNameRegex() argument 87 if (auto regex = RegEx::Create(process_name); regex != nullptr) { in AddProcessNameRegex() 100 std::string_view process_name = process->comm; in Check() local 101 if (!include_names_.empty() && !SearchInRegs(process_name, include_names_)) { in Check() 104 return !SearchInRegs(process_name, exclude_names_); in Check() 468 bool RecordFilter::AddProcessNameRegex(const std::string& process_name, bool exclude) { in AddProcessNameRegex() argument 474 .AddProcessNameRegex(process_name, exclude); in AddProcessNameRegex()
|
D | utils_test.cpp | 93 std::string process_name = GetCompleteProcessName(pid); in TEST() local 94 ASSERT_EQ(GetPidsFromStrings({process_name}, true, true), in TEST()
|
D | RecordFilter.h | 122 bool AddProcessNameRegex(const std::string& process_name, bool exclude);
|
D | environment.cpp | 513 std::string process_name = GetCompleteProcessName(pid); in WaitForAppProcesses() local 514 if (process_name.empty()) { in WaitForAppProcesses() 519 size_t split_pos = process_name.find(':'); in WaitForAppProcesses() 521 process_name = process_name.substr(0, split_pos); in WaitForAppProcesses() 523 if (process_name != package_name) { in WaitForAppProcesses()
|
D | utils.cpp | 459 std::string process_name = GetCompleteProcessName(pid); in GetPidsFromStrings() local 460 if (process_name.empty()) { in GetPidsFromStrings() 464 if (reg->Search(process_name)) { in GetPidsFromStrings()
|
/system/memory/libmeminfo/libmemevents/bpfprogs/ |
D | bpfMemEventsTest.c | 47 read_str((char*)args, args->__data_loc_comm, data->event_data.oom_kill.process_name, 77 strncpy(data->event_data.oom_kill.process_name, 78 mocked_oom_event.event_data.oom_kill.process_name, 13);
|
D | bpfMemEvents.c | 51 read_str((char*)args, args->__data_loc_comm, data->event_data.oom_kill.process_name,
|
/system/connectivity/wificond/tests/integration/ |
D | process_utils.cpp | 45 bool IsProcessRunning(const char* process_name) { in IsProcessRunning() argument 47 RunShellCommand(StringPrintf("pgrep -c ^%s$", process_name), &output); in IsProcessRunning()
|
/system/memory/libmeminfo/libmemevents/include/memevents/ |
D | memevents_test.h | 39 .process_name = "fake_process",
|
D | bpf_types.h | 66 char process_name[MEM_EVENT_PROC_NAME_LEN]; member
|
/system/logging/logcat/ |
D | logcat.proto | 28 optional string process_name = 9;
|
/system/extras/simpleperf/scripts/ |
D | gecko_profile_generator.py | 437 process_name = process_names.get(sample.pid) 440 (sample.thread_comm, sample.tid, process_name, sample.pid)] + stack
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone_proto_to_text.cpp | 118 const char* process_name = "<unknown>"; in print_thread_header() local 120 process_name = tombstone.command_line()[0].c_str(); in print_thread_header() 126 thread.name().c_str(), process_name); in print_thread_header()
|
/system/memory/libmeminfo/libmemevents/ |
D | memevents_test.cpp | 453 ASSERT_EQ(strcmp(mem_event.event_data.oom_kill.process_name, in validateMockedEvent() 454 mocked_oom_event.event_data.oom_kill.process_name), in validateMockedEvent()
|