Searched refs:comm (Results 1 - 25 of 29) sorted by relevance

12

/system/extras/simpleperf/runtest/
H A Druntest.py58 def __init__(self, name, comm, overhead, children_overhead):
60 self.comm = comm
72 strs.append('Symbol name=%s comm=%s overhead=%f children_overhead=%f' % (
73 self.name, self.comm, self.overhead, self.children_overhead))
81 def __init__(self, symbol_name=None, comm=None, min_overhead=None,
84 self.comm = comm
93 if self.comm is not None:
94 strs.append('comm
[all...]
H A Druntest.conf44 <report option="--sort comm,symbol"/>
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/storaged/
H A Duid_info.cpp32 parcel->writeCString(task_it.second.comm.c_str());
47 task.comm = parcel->readCString();
H A Dstoraged_uid_monitor.cpp101 comm = Join(std::vector<std::string>(
342 const std::string& comm = task_it.second.comm; local
352 io_usage& task_usage = usage.task_ios[comm];
H A Dstoraged_utils.cpp85 task.comm.c_str(),
H A Dstoraged_service.cpp79 const string& comm = task_it.first; local
82 comm.c_str(),
/system/core/logd/
H A DLogAudit.cpp351 static const char comm_str[] = " comm=\"";
352 const char* comm = strstr(str, comm_str); local
355 if (comm) {
356 estr = comm;
357 comm += sizeof(comm_str) - 1;
360 comm = "auditd";
363 comm = commfree = logbuf->pidToName(pid);
365 if (!comm) {
366 comm = "unknown";
370 const char* ecomm = strchr(comm, '"');
[all...]
/system/core/storaged/include/
H A Duid_info.h54 std::string comm; member in class:android::os::storaged::task_info
/system/extras/simpleperf/
H A Drecord_equal_test.h24 ASSERT_STREQ(r1.comm, r2.comm);
H A Dthread_tree.cpp48 void ThreadTree::SetThreadName(int pid, int tid, const std::string& comm) { argument
50 if (comm != thread->comm) {
52 std::unique_ptr<std::string>(new std::string(comm)));
53 thread->comm = thread_comm_storage_.back()->c_str();
60 child->comm = parent->comm;
318 SetThreadName(r.data->pid, r.data->tid, r.comm);
H A Dthread_tree.h70 const char* comm; // It always refers to the latest comm. member in struct:simpleperf::ThreadEntry
88 // We can't dump comm for pid 0 from /proc, so add it's name here.
92 void SetThreadName(int pid, int tid, const std::string& comm);
H A Devent_attr.cpp85 attr.comm = 1;
127 PrintIndented(indent + 1, "exclude_idle %u, mmap %u, comm %u, freq %u\n", attr.exclude_idle,
128 attr.mmap, attr.comm, attr.freq);
H A Dperf_clock.cpp107 attr.comm = 0;
H A Denvironment.cpp215 static bool ReadThreadNameAndPid(pid_t tid, std::string* comm, pid_t* pid) { argument
220 if (comm != nullptr) {
221 *comm = procinfo.name;
H A Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr)));
H A Drecord.cpp38 {PERF_RECORD_COMM, "comm"},
301 comm = p;
308 const std::string& comm, uint64_t event_id, uint64_t time) {
315 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) +
322 this->comm = p;
323 strcpy(p, comm.c_str());
324 p += Align(comm.size() + 1, 8);
330 PrintIndented(indent, "pid %u, tid %u, comm %s\n", data->pid, data->tid,
331 comm);
307 CommRecord(const perf_event_attr& attr, uint32_t pid, uint32_t tid, const std::string& comm, uint64_t event_id, uint64_t time) argument
H A Dcmd_report_sample.cpp591 proto_thread->set_thread_name(thread->comm);
610 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm;
H A Drecord.h319 const char* comm; member in struct:CommRecord
324 const std::string& comm, uint64_t event_id, uint64_t time);
H A Dreport_lib_interface.cpp261 current_sample_.thread_comm = current_thread_->comm;
/system/extras/iotop/
H A Dtaskstats.h35 const std::string& comm() const { return comm_; } function in class:TaskStatistics
H A Diotop.cpp261 statistics.comm().c_str(),
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc758 CommEventIterator comm(perf_data);
764 EXPECT_STREQ(str, comm->comm_event().comm().c_str());
765 ++comm;
/system/nfc/src/nfa/include/
H A Dnfa_hci_int.h284 tNFA_HCI_COMM_DATA comm; member in union:__anon2325
/system/core/logcat/tests/
H A Dlogcat_test.cpp811 static const char comm[] = logcat_executable local
814 char command[sizeof(buf) + sizeof(comm)];
815 snprintf(command, sizeof(command), comm, buf);
/system/nfc/src/nfa/hci/
H A Dnfa_hci_act.cc93 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle;
143 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle;
468 tNFA_HANDLE app_handle = p_evt_data->comm.hci_handle;

Completed in 332 milliseconds

12