/system/extras/simpleperf/runtest/ |
D | runtest.py | 58 def __init__(self, name, comm, overhead, children_overhead): argument 60 self.comm = comm 73 self.name, self.comm, self.overhead, self.children_overhead)) 81 def __init__(self, symbol_name=None, comm=None, min_overhead=None, argument 84 self.comm = comm 93 if self.comm is not None: 94 strs.append('comm=%s' % self.comm) 105 if self.comm is not None: 106 if self.comm != symbol.comm: 122 def __init__(self, symbol_name, comm=None): argument [all …]
|
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"/>
|
/system/logging/logd/ |
D | LogAudit.cpp | 318 const char* comm = strstr(str, comm_str); in logPrint() local 321 if (comm) { in logPrint() 322 estr = comm; in logPrint() 323 comm += sizeof(comm_str) - 1; in logPrint() 326 comm = "auditd"; in logPrint() 328 comm = commfree = stats_->PidToName(pid); in logPrint() 329 if (!comm) { in logPrint() 330 comm = "unknown"; in logPrint() 334 const char* ecomm = strchr(comm, '"'); in logPrint() 337 str_len = ecomm - comm; in logPrint() [all …]
|
/system/extras/simpleperf/scripts/ |
D | gecko_profile_generator.py | 138 comm: str 206 def _add_sample(self, comm: str, stack: List[str], time_ms: Milliseconds) -> None: 216 if self.comm != comm: 217 self.comm = comm 241 "name": self.comm, 337 thread = Thread(comm=sample.thread_comm, pid=sample.pid, tid=sample.tid) 340 comm=sample.thread_comm,
|
/system/extras/simpleperf/ |
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()
|
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);
|
D | record_equal_test.h | 26 ASSERT_STREQ(r1.comm, r2.comm); in CheckCommRecordDataEqual()
|
D | environment.h | 76 bool ReadThreadNameAndPid(pid_t tid, std::string* comm, pid_t* pid);
|
D | record.cpp | 351 comm = p; in Parse() 357 const std::string& comm, uint64_t event_id, uint64_t time) { in CommRecord() argument 364 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + sample_id_size); in CommRecord() 370 this->comm = p; in CommRecord() 371 strcpy(p, comm.c_str()); in CommRecord() 372 p += Align(comm.size() + 1, 8); in CommRecord() 378 if (name.compare(comm) == 0) { in SetCommandName() 383 size_t old_name_len = Align(strlen(comm) + 1, 8); in SetCommandName() 392 comm = p; in SetCommandName() 401 PrintIndented(indent, "pid %u, tid %u, comm %s\n", data->pid, data->tid, comm); in DumpData()
|
D | RecordFilter.cpp | 363 if (SearchInRegs(process->comm, condition.process_name_regs)) { in CheckCondition() 370 if (SearchInRegs(thread->comm, condition.thread_name_regs)) { in CheckCondition()
|
D | sample_tree_test.cpp | 69 new SampleEntry(pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
|
/system/vold/ |
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()
|
/system/core/llkd/ |
D | libllkd.cpp | 303 char comm[TASK_COMM_LEN + 3]; // space for adding '[' and ']' member 310 void setComm(const char* _comm) { strncpy(comm + 1, _comm, sizeof(comm) - 2); } in setComm() 336 memset(comm, '\0', sizeof(comm)); in proc() 341 if (comm[1] == '\0') { // comm Valid? in getComm() 342 strncpy(comm + 1, llkProcGetName(tid, "/comm").c_str(), sizeof(comm) - 2); in getComm() 346 comm[0] = '['; in getComm() 350 size_t len = strlen(comm + 1); in getComm() 351 if (__predict_true(len < (sizeof(comm) - 1))) { in getComm() 352 if (comm[0] == '[') { in getComm() 353 if ((comm[len] != ']') && __predict_true(len < (sizeof(comm) - 2))) { in getComm() [all …]
|
/system/core/storaged/ |
D | uid_info.cpp | 32 parcel->writeCString(task_it.second.comm.c_str()); in writeToParcel() 47 task.comm = parcel->readCString(); in readFromParcel()
|
D | storaged_service.cpp | 79 const string& comm = task_it.first; in dumpUidRecordsDebug() local 82 comm.c_str(), in dumpUidRecordsDebug()
|
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()
|
D | storaged_utils.cpp | 85 task.comm.c_str(), in log_console_running_uids_info()
|
/system/bpfprogs/test/ |
D | bpf_load_tp_prog.c | 51 char comm[16]; member
|
D | bpf_load_tp_prog_btf.c | 51 char comm[16]; member
|
/system/core/storaged/include/ |
D | uid_info.h | 56 std::string comm;
|
/system/extras/iotop/ |
D | taskstats.h | 35 const std::string& comm() const { return comm_; } in comm() function
|
D | iotop.cpp | 257 statistics.pid(), statistics.comm().c_str(), in main()
|
/system/core/shell_and_utilities/ |
D | README.md | 50 chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut date 83 chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut date 116 chown chroot chrt cksum clear cmp comm cp cpio cut date dd **devmem** 147 chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df 178 chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg 202 chroot chrt cksum clear cmp comm cp cpio cut date df **diff** dirname dmesg 225 chown chroot cksum clear comm cmp cp cpio cut date **df** dirname dmesg 246 chroot cksum clear comm cmp cp cpio cut date dirname dmesg dos2unix echo
|
/system/tools/hidl/scripts/ |
D | hal-queries.sh | 77 comm -3 <(all-interfaces "$package_root" "$package") <(current-interfaces "$package_root")
|
/system/extras/simpleperf/doc/ |
D | view_the_profile.md | 36 ./pprof_proto_generator.py --comm com.example.android.displayingbitmaps 154 --comm com.example.android.displayingbitmaps \ # UI Thread 177 --comm com.example.android.displayingbitmaps \ 181 --comm com.example.android.displayingbitmaps \
|