Searched refs:comm (Results 76 - 100 of 150) sorted by path

123456

/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dcode-reading.c488 evsel->attr.comm = 1;
H A Dhists_link.c14 const char *comm; member in struct:__anon25166
96 thread__set_comm(thread, fake_threads[i].comm);
422 i, he->thread->comm, he->ms.map->dso->short_name,
448 /* default sort order (comm,dso,sym) will be used */
H A Dkeep-tracking.c26 static int find_comm(struct perf_evlist *evlist, const char *comm) argument
35 (pid_t)event->comm.pid == getpid() &&
36 (pid_t)event->comm.tid == getpid() &&
37 strcmp(event->comm.comm, comm) == 0)
68 const char *comm; local
88 evsel->attr.comm = 1;
101 * First, test that a 'comm' event can be found when the event is
107 comm
[all...]
H A Dperf-record.c104 * Config the evsels, setting attr->comm on the first one, etc.
218 (pid_t)event->comm.pid != evlist->workload.pid) {
226 event->comm.pid != event->comm.tid) {
233 if (strcmp(event->comm.comm, cmd)) {
234 pr_debug("%s with unexpected comm!\n", name);
H A Dperf-time-to-tsc.c88 evsel->attr.comm = 1;
123 (pid_t)event->comm.pid != getpid() ||
124 (pid_t)event->comm.tid != getpid())
127 if (strcmp(event->comm.comm, comm1) == 0) {
132 if (strcmp(event->comm.comm, comm2) == 0) {
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/
H A Dhists.c1258 (thread->comm_set ? thread->comm : ""),
1581 (thread->comm_set ? thread->comm : ""),
1601 browser->he_selection->thread->comm) > 0)
1704 thread->comm_set ? thread->comm : "",
1720 sprintf(script_opt, " -c %s ", browser->he_selection->thread->comm);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Devent.c48 static pid_t perf_event__get_comm_tgid(pid_t pid, char *comm, size_t len) argument
64 while (!comm[0] || (tgid < 0)) {
78 memcpy(comm, name, size);
79 comm[size] = '\0';
106 memset(&event->comm, 0, sizeof(event->comm));
108 tgid = perf_event__get_comm_tgid(pid, event->comm.comm,
109 sizeof(event->comm.comm));
[all...]
H A Devent.h36 char comm[16]; member in struct:comm_event
176 struct comm_event comm; member in union:perf_event
H A Devsel.c681 attr->comm = track;
977 ret += PRINT_ATTR2(mmap, comm);
1935 if_print(comm);
H A Dmachine.c37 char comm[64]; local
42 snprintf(comm, sizeof(comm), "[guest/%d]", pid);
43 thread__set_comm(thread, comm);
320 event->comm.pid,
321 event->comm.tid);
326 if (thread == NULL || thread__set_comm(thread, event->comm.comm)) {
H A Dpython.c150 static char pyrf_comm_event__doc[] = PyDoc_STR("perf comm event object.");
157 member_def(comm_event, comm, T_STRING_INPLACE, "process name"),
163 return PyString_FromFormat("{ type: comm, pid: %u, tid: %u, comm: %s }",
164 pevent->event.comm.pid,
165 pevent->event.comm.tid,
166 pevent->event.comm.comm);
538 "comm",
563 comm local
[all...]
H A Dsession.c261 if (tool->comm == NULL)
262 tool->comm = process_event_stub;
328 event->comm.pid = bswap_32(event->comm.pid);
329 event->comm.tid = bswap_32(event->comm.tid);
332 void *data = &event->comm.comm;
1010 return tool->comm(tool, event, sample, machine);
H A Dsort.c8 const char default_sort_order[] = "comm,dso,symbol";
67 self->thread->comm ?: "", self->thread->tid);
77 /* --sort comm */
88 char *comm_l = left->thread->comm;
89 char *comm_r = right->thread->comm;
100 return repsep_snprintf(bf, size, "%*s", width, self->thread->comm);
871 DIM(SORT_COMM, "comm", sort_comm),
1029 "comm", output);
H A Dthread.c19 self->comm = malloc(32);
20 if (self->comm)
21 snprintf(self->comm, 32, ":%d", self->tid);
30 free(self->comm);
34 int thread__set_comm(struct thread *self, const char *comm) argument
38 if (self->comm)
39 free(self->comm);
40 self->comm = strdup(comm);
41 err = self->comm
[all...]
H A Dthread.h21 char *comm; member in struct:thread
36 int thread__set_comm(struct thread *self, const char *comm);
H A Dtool.h33 comm, member in struct:perf_tool
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c276 char *comm = thread->comm; local
307 XPUSHs(sv_2mortal(newSVpv(comm, 0)));
341 XPUSHs(sv_2mortal(newSVpv(comm, 0)));
607 "\tmy ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;\n\n"
609 "$event_name, $cpu, $secs, $nsecs, $pid, $comm);\n}\n");
H A Dtrace-event-python.c253 char *comm = thread->comm; local
291 PyTuple_SetItem(t, n++, PyString_FromString(comm));
297 pydict_set_item_string_decref(dict, "common_comm", PyString_FromString(comm));
391 pydict_set_item_string_decref(dict, "comm",
392 PyString_FromString(thread->comm));
689 "event_name, cpu, secs, nsecs, pid, comm):\n"
691 "(event_name, cpu, secs, nsecs, pid, comm),\n");
/external/lldb/source/Core/
H A DCommunication.cpp243 snprintf(thread_name, sizeof(thread_name), "<lldb.comm.%s>", m_broadcaster_name.AsCString());
339 Communication *comm = (Communication *)p; local
351 while (!done && comm->m_read_thread_enabled)
353 size_t bytes_read = comm->ReadFromConnection (buf, sizeof(buf), 5 * TimeValue::MicroSecPerSec, status, &error);
355 comm->AppendBytesToCache (buf, bytes_read, true, status);
359 if (comm->GetCloseOnEOF ())
360 comm->Disconnect ();
361 comm->AppendBytesToCache (buf, bytes_read, true, status);
370 if (comm->GetCloseOnEOF())
392 comm
[all...]
/external/llvm/test/MC/AArch64/
H A Darm64-leaf-compact-unwind.s206 .comm _bar,4,2 ; @bar
/external/llvm/test/MC/ARM/
H A Dhilo-16bit-relocations.s12 .comm _foo,4,2
/external/llvm/test/MC/AsmParser/
H A Ddirective_comm.s4 # CHECK: .comm a,6,2
5 # CHECK: .comm b,8
6 # CHECK: .comm c,8
8 .comm a, 4+2, 2
9 .comm b,8
H A Dlabels.s41 // CHECK: .comm "a 6",1
42 .comm "a 6", 1
/external/llvm/test/MC/COFF/
H A Dcomm.s4 .comm _b, 4
/external/llvm/test/MC/ELF/
H A Dalign-bss.s6 .comm foo,2048,16

Completed in 407 milliseconds

123456