/aosp12/system/extras/simpleperf/runtest/ |
H A D | runtest.py | 60 self.comm = comm 84 self.comm = comm 106 if self.comm != symbol.comm: 124 self.comm = comm 136 (' ' + self.comm if self.comm else '')] 145 if symbol.comm != self.comm: 237 comm = None 251 comm, 259 comm, 282 comm = None [all …]
|
H A D | runtest.conf | 88 <symbol name="Function1()" comm="RUN_COMM1" min="30" max="70"/> 89 <symbol name="Function1()" comm="RUN_COMM2" min="30" max="70"/> 93 <symbol name="main" comm="RUN_COMM1" min="30" max="70"/> 94 <symbol name="main" comm="RUN_COMM2" min="30" max="70"/> 98 <symbol name="Function1()" comm="RUN_COMM1"> 101 <symbol name="Function1()" comm="RUN_COMM2"> 202 <symbol comm="RUN_COMM1" min="100" max="100"/>
|
/aosp12/system/logging/logd/ |
H A D | LogAudit.cpp | 290 const char* comm = strstr(str, comm_str); in logPrint() local 293 if (comm) { in logPrint() 294 estr = comm; in logPrint() 295 comm += sizeof(comm_str) - 1; in logPrint() 298 comm = "auditd"; in logPrint() 301 if (!comm) { in logPrint() 302 comm = "unknown"; in logPrint() 306 const char* ecomm = strchr(comm, '"'); in logPrint() 309 str_len = ecomm - comm; in logPrint() 311 str_len = strlen(comm) + 1; in logPrint() [all …]
|
/aosp12/packages/services/Car/cpp/watchdog/server/src/ |
H A D | UidProcStatsCollector.cpp | 58 std::string comm = ""; member 88 pidStat->comm += fields[i]; in parsePidStatLine() 93 pidStat->comm += " "; in parsePidStatLine() 96 if (pidStat->comm.front() != '(' || pidStat->comm.back() != ')') { in parsePidStatLine() 97 ALOGD("Comm string `%s` not enclosed in brackets", pidStat->comm.c_str()); in parsePidStatLine() 100 pidStat->comm.erase(pidStat->comm.begin()); in parsePidStatLine() 101 pidStat->comm.erase(pidStat->comm.end() - 1); in parsePidStatLine() 190 comm.c_str(), startTime, totalMajorFaults, totalTasksCount, in toString() 327 .comm = std::move(pidStat.comm), in readProcessStatsLocked()
|
H A D | IoPerfCollection.cpp | 155 .comm = processStats.comm, in cacheTopNProcessStats() 248 StringAppendF(&buffer, "\t%s, %" PRIu64 ", %.2f%%\n", processCount.comm.c_str(), in toString()
|
H A D | UidProcStatsCollector.h | 48 std::string comm = ""; member
|
/aosp12/system/core/llkd/ |
H A D | libllkd.cpp | 310 void setComm(const char* _comm) { strncpy(comm + 1, _comm, sizeof(comm) - 2); } in setComm() 336 memset(comm, '\0', sizeof(comm)); in proc() 342 strncpy(comm + 1, llkProcGetName(tid, "/comm").c_str(), sizeof(comm) - 2); in getComm() 346 comm[0] = '['; in getComm() 352 if (comm[0] == '[') { in getComm() 353 if ((comm[len] != ']') && __predict_true(len < (sizeof(comm) - 2))) { in getComm() 359 comm[len] = '\0'; in getComm() 363 return &comm[comm[0] != '[']; in getComm() 391 comm[0] = '\0'; in reset() 440 if ((comm != nullptr) && (*comm != '\0')) { in llkProcGetName() [all …]
|
/aosp12/system/extras/simpleperf/ |
H A D | thread_tree.cpp | 44 void ThreadTree::SetThreadName(int pid, int tid, const std::string& comm) { in SetThreadName() argument 46 if (comm != thread->comm) { in SetThreadName() 47 thread_comm_storage_.push_back(std::unique_ptr<std::string>(new std::string(comm))); in SetThreadName() 48 thread->comm = thread_comm_storage_.back()->c_str(); in SetThreadName() 55 child->comm = parent->comm; in ForkThread() 88 const char* comm; in CreateThread() local 91 comm = "unknown"; in CreateThread() 96 comm = process->comm; in CreateThread() 102 comm, in CreateThread() 392 SetThreadName(r.data->pid, r.data->tid, r.comm); in Update()
|
H A D | RecordFilter.cpp | 113 if (SearchInRegs(process->comm, condition.process_name_regs)) { in CheckCondition() 120 if (SearchInRegs(thread->comm, condition.thread_name_regs)) { in CheckCondition()
|
H A D | record_equal_test.h | 26 ASSERT_STREQ(r1.comm, r2.comm); in CheckCommRecordDataEqual()
|
H A D | thread_tree.h | 80 const char* comm; // It always refers to the latest comm. member 103 void SetThreadName(int pid, int tid, const std::string& comm);
|
H A D | record.cpp | 314 comm = p; in CommRecord() 321 const std::string& comm, uint64_t event_id, uint64_t time) { in CommRecord() argument 328 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + sample_id_size); in CommRecord() 334 this->comm = p; in CommRecord() 335 strcpy(p, comm.c_str()); in CommRecord() 336 p += Align(comm.size() + 1, 8); in CommRecord() 342 if (name.compare(comm) == 0) { in SetCommandName() 347 size_t old_name_len = Align(strlen(comm) + 1, 8); in SetCommandName() 356 comm = p; in SetCommandName() 365 PrintIndented(indent, "pid %u, tid %u, comm %s\n", data->pid, data->tid, comm); in DumpData()
|
H A D | environment.h | 76 bool ReadThreadNameAndPid(pid_t tid, std::string* comm, pid_t* pid);
|
/aosp12/system/vold/ |
H A D | Process.cpp | 178 std::string comm; in KillProcessesWithOpenFiles() local 179 android::base::ReadFileToString(StringPrintf("/proc/%d/comm", pid), &comm); in KillProcessesWithOpenFiles() 180 comm = android::base::Trim(comm); in KillProcessesWithOpenFiles() 185 LOG(WARNING) << "Sending " << strsignal(signal) << " to pid " << pid << " (" << comm in KillProcessesWithOpenFiles()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 304 final FileDescriptor[] comm = createCommSocketPair(); in fromFd() local 305 final ParcelFileDescriptor pfd = new ParcelFileDescriptor(fd, comm[0]); in fromFd() 307 queue.addOnFileDescriptorEventListener(comm[1], in fromFd() 516 final FileDescriptor[] comm = createCommSocketPair(); in createReliablePipe() local 519 new ParcelFileDescriptor(fds[0], comm[0]), in createReliablePipe() 520 new ParcelFileDescriptor(fds[1], comm[1]) }; in createReliablePipe() 568 final FileDescriptor[] comm = createCommSocketPair(); in createReliableSocketPair() local 573 new ParcelFileDescriptor(fd0, comm[0]), in createReliableSocketPair() 574 new ParcelFileDescriptor(fd1, comm[1]) }; in createReliableSocketPair() 898 private static Status readCommStatus(FileDescriptor comm, byte[] buf) { in readCommStatus() argument [all …]
|
/aosp12/system/core/storaged/ |
H A D | uid_info.cpp | 32 parcel->writeCString(task_it.second.comm.c_str()); in writeToParcel() 47 task.comm = parcel->readCString(); in readFromParcel()
|
H A D | storaged_uid_monitor.cpp | 100 comm = Join(std::vector<std::string>( in parse_task_io_stats() 341 const std::string& comm = task_it.second.comm; in update_curr_io_stats_locked() local 351 io_usage& task_usage = usage.task_ios[comm]; in update_curr_io_stats_locked()
|
H A D | storaged_service.cpp | 79 const string& comm = task_it.first; in dumpUidRecordsDebug() local 82 comm.c_str(), in dumpUidRecordsDebug()
|
/aosp12/bionic/libc/kernel/uapi/linux/ |
H A D | cn_proc.h | 80 char comm[16]; member 81 } comm; member
|
/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | UidProcStatsCollectorTestUtils.h | 30 return ::testing::Value(actual.comm, ::testing::Eq(expected.comm)) &&
|
/aosp12/system/core/shell_and_utilities/ |
H A D | README.md | 103 chroot cksum clear comm cmp cp cpio cut date dirname dmesg dos2unix echo 123 chown chroot cksum clear comm cmp cp cpio cut date **df** dirname dmesg 145 chroot chrt cksum clear cmp comm cp cpio cut date df **diff** dirname dmesg 171 chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg 197 chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df 229 chown chroot chrt cksum clear cmp comm cp cpio cut date dd **devmem** 261 chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut date
|
/aosp12/system/core/storaged/include/ |
H A D | uid_info.h | 56 std::string comm;
|
/aosp12/system/extras/iotop/ |
H A D | taskstats.h | 35 const std::string& comm() const { return comm_; } in comm() function
|
/aosp12/frameworks/base/startop/scripts/trace_analyzer/ |
H A D | queries_find_sched_switch_unblocked.sql | 79 block_prev_comm as comm,
|
/aosp12/system/tools/hidl/scripts/ |
H A D | hal-queries.sh | 77 comm -3 <(all-interfaces "$package_root" "$package") <(current-interfaces "$package_root")
|