Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 25 of 35) sorted by relevance

12

/system/extras/simpleperf/runtest/
Druntest.py58 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 …]
Druntest.conf88 <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/
DLogAudit.cpp306 const char* comm = strstr(str, comm_str); in logPrint() local
309 if (comm) { in logPrint()
310 estr = comm; in logPrint()
311 comm += sizeof(comm_str) - 1; in logPrint()
314 comm = "auditd"; in logPrint()
317 comm = commfree = logbuf->pidToName(pid); in logPrint()
319 if (!comm) { in logPrint()
320 comm = "unknown"; in logPrint()
324 const char* ecomm = strchr(comm, '"'); in logPrint()
327 str_len = ecomm - comm; in logPrint()
[all …]
/system/extras/simpleperf/
Dthread_tree.cpp31 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()
Drecord_equal_test.h24 ASSERT_STREQ(r1.comm, r2.comm); in CheckCommRecordDataEqual()
Dthread_tree.h84 const char* comm; // It always refers to the latest comm. member
106 void SetThreadName(int pid, int tid, const std::string& comm);
Drecord.cpp321 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()
Denvironment.h70 bool ReadThreadNameAndPid(pid_t tid, std::string* comm, pid_t* pid);
Drecord_test.cpp141 ASSERT_EQ(std::string(r.comm), new_name); in TEST_F()
Denvironment.cpp192 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()
Devent_attr.cpp126 attr.exclude_idle, attr.mmap, attr.mmap2, attr.comm, attr.freq); in DumpPerfEventAttr()
Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
Drecord.h326 const char* comm; member
331 const std::string& comm, uint64_t event_id, uint64_t time);
Dcmd_report_sample.cpp522 thread_names_[key] = thread->comm; in ProcessSampleRecord()
667 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord()
/system/core/llkd/
Dlibllkd.cpp303 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/
Duid_info.cpp32 parcel->writeCString(task_it.second.comm.c_str()); in writeToParcel()
47 task.comm = parcel->readCString(); in readFromParcel()
Dstoraged_service.cpp79 const string& comm = task_it.first; in dumpUidRecordsDebug() local
82 comm.c_str(), in dumpUidRecordsDebug()
Dstoraged_uid_monitor.cpp100 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()
Dstoraged_utils.cpp85 task.comm.c_str(), in log_console_running_uids_info()
/system/core/storaged/include/
Duid_info.h56 std::string comm;
/system/extras/iotop/
Dtaskstats.h35 const std::string& comm() const { return comm_; } in comm() function
Diotop.cpp268 statistics.comm().c_str(), in main()
/system/tools/hidl/scripts/
Dhal-queries.sh77 comm -3 <(all-interfaces "$package_root" "$package") <(current-interfaces "$package_root")
/system/core/shell_and_utilities/
DREADME.md102 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/extras/simpleperf/doc/
Dexecutable_commands_reference.md548 # thread name(comm), process id(pid), thread id(tid), function name(symbol), and showing sample
551 --sort comm,pid,tid,symbol -n
623 # Group records based on their thread id and thread comm: records having the same thread id and
625 $ simpleperf report --sort tid,comm
631 # Default option: --sort comm,pid,tid,dso,symbol. Group records in the same thread, and belong to

12