Home
last modified time | relevance | path

Searched refs:process_name (Results 1 – 16 of 16) sorted by relevance

/system/extras/boottime_tools/io_analysis/
Dcheck_file_read.py59 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/
DMapRecordReader.cpp75 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()
DRecordFilter.cpp86 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()
Dutils_test.cpp93 std::string process_name = GetCompleteProcessName(pid); in TEST() local
94 ASSERT_EQ(GetPidsFromStrings({process_name}, true, true), in TEST()
DRecordFilter.h122 bool AddProcessNameRegex(const std::string& process_name, bool exclude);
Denvironment.cpp513 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()
Dutils.cpp459 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/
DbpfMemEventsTest.c47 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);
DbpfMemEvents.c51 read_str((char*)args, args->__data_loc_comm, data->event_data.oom_kill.process_name,
/system/connectivity/wificond/tests/integration/
Dprocess_utils.cpp45 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/
Dmemevents_test.h39 .process_name = "fake_process",
Dbpf_types.h66 char process_name[MEM_EVENT_PROC_NAME_LEN]; member
/system/logging/logcat/
Dlogcat.proto28 optional string process_name = 9;
/system/extras/simpleperf/scripts/
Dgecko_profile_generator.py437 process_name = process_names.get(sample.pid)
440 (sample.thread_comm, sample.tid, process_name, sample.pid)] + stack
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp118 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/
Dmemevents_test.cpp453 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()