/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/core/logd/ |
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() 300 comm = commfree = stats_->PidToName(pid); 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() [all …]
|
/system/extras/simpleperf/ |
D | thread_tree.cpp | 31 void ThreadTree::SetThreadName(int pid, int tid, const std::string& comm) { in SetThreadName() argument 33 if (comm != thread->comm) { in SetThreadName() 35 std::unique_ptr<std::string>(new std::string(comm))); in SetThreadName() 36 thread->comm = thread_comm_storage_.back()->c_str(); in SetThreadName() 43 child->comm = parent->comm; in ForkThread() 76 const char* comm; in CreateThread() local 79 comm = "unknown"; in CreateThread() 84 comm = process->comm; in CreateThread() 89 comm, in CreateThread() 324 SetThreadName(r.data->pid, r.data->tid, r.comm); in Update()
|
D | record_equal_test.h | 24 ASSERT_STREQ(r1.comm, r2.comm); in CheckCommRecordDataEqual()
|
D | thread_tree.h | 84 const char* comm; // It always refers to the latest comm. member 106 void SetThreadName(int pid, int tid, const std::string& comm);
|
D | record.cpp | 321 comm = p; in CommRecord() 328 const std::string& comm, uint64_t event_id, uint64_t time) { in CommRecord() argument 335 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + in CommRecord() 342 this->comm = p; in CommRecord() 343 strcpy(p, comm.c_str()); in CommRecord() 344 p += Align(comm.size() + 1, 8); in CommRecord() 350 if (name.compare(comm) == 0) { in SetCommandName() 355 size_t old_name_len = Align(strlen(comm) + 1, 8); in SetCommandName() 364 comm = p; in SetCommandName() 374 comm); in DumpData()
|
D | environment.h | 71 bool ReadThreadNameAndPid(pid_t tid, std::string* comm, pid_t* pid);
|
D | record_test.cpp | 141 ASSERT_EQ(std::string(r.comm), new_name); in TEST_F()
|
D | environment.cpp | 192 bool ReadThreadNameAndPid(pid_t tid, std::string* comm, pid_t* pid) { in ReadThreadNameAndPid() argument 197 if (comm != nullptr) { in ReadThreadNameAndPid() 198 *comm = procinfo.name; in ReadThreadNameAndPid()
|
D | event_attr.cpp | 126 attr.exclude_idle, attr.mmap, attr.mmap2, attr.comm, attr.freq); in DumpPerfEventAttr()
|
D | sample_tree_test.cpp | 68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
|
D | record.h | 326 const char* comm; member 331 const std::string& comm, uint64_t event_id, uint64_t time);
|
D | cmd_report_sample.cpp | 523 thread_names_[key] = thread->comm; in ProcessSampleRecord() 668 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord()
|
/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/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 | 268 statistics.comm().c_str(), in main()
|
/system/core/shell_and_utilities/ |
D | README.md | 102 chroot cksum clear comm cmp cp cpio cut date dirname dmesg dos2unix echo 122 chown chroot cksum clear comm cmp cp cpio cut date df dirname dmesg 144 chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg 170 chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg 196 chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df 228 chown chroot chrt cksum clear cmp comm cp cpio cut date dd devmem
|
/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 | executable_commands_reference.md | 551 # thread name(comm), process id(pid), thread id(tid), function name(symbol), and showing sample 554 --sort comm,pid,tid,symbol -n 626 # Group records based on their thread id and thread comm: records having the same thread id and 628 $ simpleperf report --sort tid,comm 634 # Default option: --sort comm,pid,tid,dso,symbol. Group records in the same thread, and belong to
|