Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 25 of 26) 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.cpp315 const char* comm = strstr(str, comm_str); in logPrint() local
318 if (comm) { in logPrint()
319 estr = comm; in logPrint()
320 comm += sizeof(comm_str) - 1; in logPrint()
323 comm = "auditd"; in logPrint()
326 comm = commfree = logbuf->pidToName(pid); in logPrint()
328 if (!comm) { in logPrint()
329 comm = "unknown"; in logPrint()
333 const char* ecomm = strchr(comm, '"'); in logPrint()
336 l = ecomm - comm; in logPrint()
[all …]
/system/extras/perfprofd/quipper/
Dperf_utils.cc131 offset = sizeof(event.comm) - sizeof(event.comm.comm) + in GetPerfSampleDataOffset()
132 GetUint64AlignedStringLength(event.comm.comm); in GetPerfSampleDataOffset()
Dperf_parser.cc202 VLOG(1) << "COMM: " << event.comm.pid << ":" << event.comm.tid << ": " in ProcessEvents()
203 << event.comm.comm; in ProcessEvents()
205 CHECK(MapCommEvent(event.comm)); in ProcessEvents()
206 commands_.insert(event.comm.comm); in ProcessEvents()
207 pidtid_to_comm_map_[std::make_pair(event.comm.pid, event.comm.tid)] = in ProcessEvents()
208 &(*commands_.find(event.comm.comm)); in ProcessEvents()
Dperf_reader.cc1502 ByteSwap(&event_copy->comm.pid); in ReadPerfEventBlock()
1503 ByteSwap(&event_copy->comm.tid); in ReadPerfEventBlock()
/system/extras/simpleperf/
Dthread_tree.cpp48 void ThreadTree::SetThreadName(int pid, int tid, const std::string& comm) { in SetThreadName() argument
50 if (comm != thread->comm) { in SetThreadName()
52 std::unique_ptr<std::string>(new std::string(comm))); in SetThreadName()
53 thread->comm = thread_comm_storage_.back()->c_str(); in SetThreadName()
60 child->comm = parent->comm; in ForkThread()
306 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.h67 const char* comm; // It always refers to the latest comm. member
89 void SetThreadName(int pid, int tid, const std::string& comm);
Devent_attr.cpp84 attr.comm = 1; in CreateDefaultPerfEventAttr()
125 attr.mmap, attr.comm, attr.freq); in DumpPerfEventAttr()
Denvironment.cpp221 static bool ReadThreadNameAndPid(pid_t tid, std::string* comm, pid_t* pid) { in ReadThreadNameAndPid() argument
226 if (comm != nullptr) { in ReadThreadNameAndPid()
227 *comm = procinfo.name; in ReadThreadNameAndPid()
Drecord.cpp297 comm = p; in CommRecord()
304 const std::string& comm, uint64_t event_id, uint64_t time) { in CommRecord() argument
311 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + in CommRecord()
318 this->comm = p; in CommRecord()
319 strcpy(p, comm.c_str()); in CommRecord()
320 p += Align(comm.size() + 1, 8); in CommRecord()
327 comm); in DumpData()
Dperf_clock.cpp107 attr.comm = 0; in GetClockDiff()
Drecord.h314 const char* comm; member
319 const std::string& comm, uint64_t event_id, uint64_t time);
Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
Dreport_lib_interface.cpp222 current_sample_.thread_comm = current_thread_->comm; in GetCurrentSample()
DREADME.md281 # grouping records using thread name(comm), process id(pid), thread id(tid),
283 …--dsos /data/app/com.example.sudogame-2/lib/arm64/libsudo-game-jni.so --sort comm,pid,tid,symbol -n
345 # Group records based on their thread id and thread comm: records having
347 $simpleperf report --sort tid,comm
353 # Default option: --sort comm,pid,tid,dso,symbol. Group records in the same
465 angler:/data/data/com.example.sudogame $./simpleperf report --sort pid,tid,comm
Dcmd_report.cpp84 thread_comm(thread->comm), in SampleEntry()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Devent.h51 char comm[16]; member
185 struct comm_event comm; member
/system/extras/iotop/
Dtaskstats.h35 const std::string& comm() const { return comm_; } in comm() function
Diotop.cpp258 statistics.comm().c_str(), in main()
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Devent.h36 char comm[16]; member
176 struct comm_event comm; member
/system/nfc/src/nfa/int/
Dnfa_hci_int.h284 tNFA_HCI_COMM_DATA comm; member
/system/core/logcat/tests/
Dlogcat_test.cpp780 static const char comm[] = logcat_executable in TEST() local
783 char command[sizeof(buf) + sizeof(comm)]; in TEST()
784 snprintf(command, sizeof(command), comm, buf); in TEST()
/system/nfc/src/nfa/hci/
Dnfa_hci_act.c93 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle; in nfa_hci_check_pending_api_requests()
143 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle; in nfa_hci_check_api_requests()
467 tNFA_HANDLE app_handle = p_evt_data->comm.hci_handle; in nfa_hci_api_alloc_gate()

12