Searched defs:comm (Results 1 - 25 of 31) sorted by relevance

12

/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
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 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 */
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
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
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 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...]
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dserialjava.py33 # http://mho.republika.pl/java/comm/
35 comm = detect_java_comm([ variable
36 'javax.comm', # Sun/IBM
43 enum = comm.CommPortIdentifier.getPortIdentifiers()
47 if el.getPortType() == comm.CommPortIdentifier.PORT_SERIAL:
64 portId = comm.CommPortIdentifier.getPortIdentifier(self._port)
66 portId = comm.CommPortIdentifier.getPortIdentifier(device(self._port)) # numbers are transformed to a comport id obj
84 jdatabits = comm.SerialPort.DATABITS_5
86 jdatabits = comm.SerialPort.DATABITS_6
88 jdatabits = comm
[all...]
/external/iptables/extensions/
H A Dlibxt_owner.c34 char comm[16]; member in struct:ipt_owner_info
43 char comm[16]; member in struct:ip6t_owner_info
106 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, comm)},
333 printf(" %.*s", (int)sizeof(info->comm), info->comm);
/external/kernel-headers/original/uapi/linux/
H A Dcn_proc.h112 char comm[16]; member in struct:proc_event::__anon22924::comm_proc_event
113 } comm; member in union:proc_event::__anon22924
H A Dperf_event.h278 comm : 1, /* include comm data */ member in struct:perf_event_attr
580 * char comm[];
/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/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
H A Dparse-filter.c32 static struct format_field comm = { variable in typeref:struct:format_field
373 field = &comm;
1574 const char *comm; local
1578 comm = pevent_data_comm_from_pid(event->pevent, pid);
1579 return comm;
1588 /* Handle our dummy "comm" field */
1589 if (field == &comm) {
1764 if (arg->str.field == &comm)
H A Devent-parse.c124 char *comm; member in struct:cmdline
143 char *comm; member in struct:cmdline_list
161 cmdlines[i].comm = cmdlist->comm;
178 const struct cmdline *comm; local
189 comm = bsearch(&key, pevent->cmdlines, pevent->cmdline_count,
192 if (comm)
193 return comm->comm;
207 const struct cmdline *comm; local
231 add_new_comm(struct pevent *pevent, const char *comm, int pid) argument
283 pevent_register_comm(struct pevent *pevent, const char *comm, int pid) argument
4411 const char *comm; local
4454 const char *comm; local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-timechart.c66 * Each "pid" entry, has a list of "comm"s.
69 * Each comm has a list of samples that will be used to draw
102 char *comm; member in struct:per_pidcomm
179 static void pid_set_comm(int pid, char *comm) argument
186 if (c->comm && strcmp(c->comm, comm) == 0) {
190 if (!c->comm) {
191 c->comm = strdup(comm);
328 char comm[TASK_COMM_LEN]; member in struct:wakeup_entry
807 char comm[256]; local
[all...]
H A Dbuiltin-sched.c37 char comm[COMM_LEN]; member in struct:task_desc
331 unsigned long pid, const char *comm)
345 strcpy(task->comm, comm);
359 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm);
373 task->nr, task->comm, task->pid, task->nr_events);
480 sprintf(comm2, ":%s", this_task->comm);
668 const char *comm = perf_evsel__strval(evsel, sample, "comm"); local
675 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pi
330 register_pid(struct perf_sched *sched, unsigned long pid, const char *comm) argument
[all...]
/external/libnfc-nci/src/nfa/int/
H A Dnfa_hci_int.h290 tNFA_HCI_COMM_DATA comm; member in union:__anon24190
/external/mksh/src/
H A Dmain.c719 command(const char *comm, int line) argument
724 s->start = s->str = comm;
/external/valgrind/main/mpi/
H A Dlibmpiwrap.c397 static __inline__ int comm_rank ( MPI_Comm comm )
400 err = PMPI_Comm_rank(comm, &r);
404 static __inline__ int comm_size ( MPI_Comm comm )
407 err = PMPI_Comm_size(comm, &r);
1060 int dest, int tag, MPI_Comm comm)
1068 CALL_FN_W_6W(err, fn, buf,count,datatype,dest,tag,comm);
1074 int dest, int tag, MPI_Comm comm) {
1075 return generic_Send(buf,count,datatype, dest,tag,comm);
1078 int dest, int tag, MPI_Comm comm) {
1079 return generic_Send(buf,count,datatype, dest,tag,comm);
1059 generic_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) argument
1073 PMPI_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) argument
1077 PMPI_Bsend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) argument
1081 PMPI_Ssend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) argument
1085 PMPI_Rsend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) argument
1096 PMPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status) argument
1373 generic_Isend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) argument
1390 PMPI_Isend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) argument
1395 PMPI_Ibsend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) argument
1400 PMPI_Issend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) argument
1405 PMPI_Irsend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request) argument
1418 PMPI_Irecv( void* buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request* request ) argument
1626 PMPI_Iprobe(int source, int tag, MPI_Comm comm, int* flag, MPI_Status* status) argument
1654 PMPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status* status) argument
1708 PMPI_Sendrecv( void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status) argument
1910 PMPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) argument
1952 PMPI_Gather( void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) argument
1988 PMPI_Scatter( void* sendbuf, int sendcount, MPI_Datatype sendtype, void* recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) argument
2023 PMPI_Alltoall( void* sendbuf, int sendcount, MPI_Datatype sendtype, void* recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) argument
2056 PMPI_Reduce(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) argument
2084 PMPI_Allreduce(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) argument
2137 PMPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm* newcomm) argument
2153 PMPI_Comm_dup(MPI_Comm comm, MPI_Comm* newcomm) argument
2168 PMPI_Comm_free(MPI_Comm* comm) argument
2183 PMPI_Comm_rank(MPI_Comm comm, int *rank) argument
2200 PMPI_Comm_size(MPI_Comm comm, int *size) argument
[all...]
/external/blktrace/
H A Dblkparse.c77 char comm[16]; member in struct:process_pid_map
565 strcpy(ppm->comm, name);
628 return ppm->comm;
650 return ppi_hash_name(ppm->comm);
677 if (!strcmp(ppm->comm, name))
1707 res = strverscmp(ppi1->ppm->comm, ppi2->ppm->comm);
1755 sprintf(name, "%s (%u, ...)", ppm->comm, ppm->pid);
1757 sprintf(name, "%s (%u)", ppm->comm, ppm->pid);
/external/linux-tools-perf/perf-3.12.0/include/uapi/linux/
H A Dperf_event.h255 comm : 1, /* include comm data */ member in struct:perf_event_attr
557 * char comm[];

Completed in 538 milliseconds

12