/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | code-reading.c | 488 evsel->attr.comm = 1;
|
H A D | hists_link.c | 14 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 D | keep-tracking.c | 26 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 D | perf-record.c | 104 * 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 D | perf-time-to-tsc.c | 88 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 D | hists.c | 1258 (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 D | event.c | 48 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 D | event.h | 36 char comm[16]; member in struct:comm_event 176 struct comm_event comm; member in union:perf_event
|
H A D | evsel.c | 681 attr->comm = track; 977 ret += PRINT_ATTR2(mmap, comm); 1935 if_print(comm);
|
H A D | machine.c | 37 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 D | python.c | 150 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 D | session.c | 261 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 D | sort.c | 8 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 D | thread.c | 19 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 D | thread.h | 21 char *comm; member in struct:thread 36 int thread__set_comm(struct thread *self, const char *comm);
|
H A D | tool.h | 33 comm, member in struct:perf_tool
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/ |
H A D | trace-event-perl.c | 276 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 D | trace-event-python.c | 253 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 D | Communication.cpp | 243 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 D | arm64-leaf-compact-unwind.s | 206 .comm _bar,4,2 ; @bar
|
/external/llvm/test/MC/ARM/ |
H A D | hilo-16bit-relocations.s | 12 .comm _foo,4,2
|
/external/llvm/test/MC/AsmParser/ |
H A D | directive_comm.s | 4 # 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 D | labels.s | 41 // CHECK: .comm "a 6",1 42 .comm "a 6", 1
|
/external/llvm/test/MC/COFF/ |
H A D | comm.s | 4 .comm _b, 4
|
/external/llvm/test/MC/ELF/ |
H A D | align-bss.s | 6 .comm foo,2048,16
|