Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 25 of 146) sorted by relevance

123456

/external/linux-tools-perf/util/
Dthread.c17 self->comm = malloc(32); in thread__new()
18 if (self->comm) in thread__new()
19 snprintf(self->comm, 32, ":%d", self->pid); in thread__new()
28 free(self->comm); in thread__delete()
32 int thread__set_comm(struct thread *self, const char *comm) in thread__set_comm() argument
36 if (self->comm) in thread__set_comm()
37 free(self->comm); in thread__set_comm()
38 self->comm = strdup(comm); in thread__set_comm()
39 err = self->comm == NULL ? -ENOMEM : 0; in thread__set_comm()
50 if (!self->comm) in thread__comm_len()
[all …]
Devent.c79 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__synthesize_comm()
81 while (!event->comm.comm[0] || !event->comm.pid) { in perf_event__synthesize_comm()
92 memcpy(event->comm.comm, name, size++); in perf_event__synthesize_comm()
97 tgid = event->comm.pid = atoi(tgids); in perf_event__synthesize_comm()
101 event->comm.header.type = PERF_RECORD_COMM; in perf_event__synthesize_comm()
109 memset(event->comm.comm + size, 0, session->id_hdr_size); in perf_event__synthesize_comm()
110 event->comm.header.size = (sizeof(event->comm) - in perf_event__synthesize_comm()
111 (sizeof(event->comm.comm) - size) + in perf_event__synthesize_comm()
114 event->comm.tid = pid; in perf_event__synthesize_comm()
132 event->comm.tid = pid; in perf_event__synthesize_comm()
[all …]
/external/linux-tools-perf/scripts/python/
Dnetdev-times.py227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, vec): argument
230 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
233 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, vec): argument
236 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
239 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, vec): argument
242 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
245 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument
247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm,
251 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, irq, ret): argument
252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, irq, ret)
[all …]
Dfailed-syscalls-by-pid.py64 for comm in comm_keys:
65 pid_keys = syscalls[comm].keys()
67 print "\n%s [%d]\n" % (comm, pid),
68 id_keys = syscalls[comm][pid].keys()
71 ret_keys = syscalls[comm][pid][id].keys()
72 …for ret, val in sorted(syscalls[comm][pid][id].iteritems(), key = lambda(k, v): (v, k), reverse =…
Dsyscall-counts-by-pid.py62 for comm in comm_keys:
63 pid_keys = syscalls[comm].keys()
65 print "\n%s [%d]\n" % (comm, pid),
66 id_keys = syscalls[comm][pid].keys()
67 for id, val in sorted(syscalls[comm][pid].iteritems(), \
Dsched-migration.py353 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument
372 comm, pid, runtime, vruntime):
377 comm, pid, delay):
382 comm, pid, delay):
387 comm, pid, delay):
397 comm, pid, prio):
402 comm, pid, prio):
407 comm, pid, prio):
412 comm, pid, prio, orig_cpu,
430 comm, pid, prio, success,
[all …]
Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, argument
30 process_names[tid] = comm
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, argument
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/tests/
Dlocalcomm.asm3 .comm failmsg,100,32
5 .comm failed,1000,32
7 .comm from_dec_data,8,8
9 .comm op2static,8,8
11 .comm op1static,8,8
13 .comm spare,8,8
15 .comm result,8,8
17 .comm conv_bv,8,8
/external/linux-tools-perf/scripts/perl/
Drw-by-pid.pl48 $reads{$common_pid}{comm} = $common_comm;
70 $writes{$common_pid}{comm} = $common_comm;
84 my $comm = $reads{$pid}{comm} || "";
89 printf("%6s %-20s %10s %10s %10s\n", $pid, $comm,
103 my $comm = $reads{$pid}{comm} || "";
105 push @errcounts, [$pid, $comm, $error, $errcount];
125 my $comm = $writes{$pid}{comm} || "";
129 printf("%6s %-20s %10s %10s\n", $pid, $comm,
143 my $comm = $writes{$pid}{comm} || "";
145 push @errcounts, [$pid, $comm, $error, $errcount];
Dworkqueue-stats.pl33 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm;
43 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm;
53 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm;
63 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm;
76 my $comm = $$wqhash{'comm'} || "";
78 printf("%3u %6u %6u\t%-20s\n", $cpu, $ins, $exe, $comm);
92 my $comm = $$wqhash{'comm'} || "";
95 $comm);
Drwtop.pl62 $reads{$common_pid}{comm} = $common_comm;
88 $writes{$common_pid}{comm} = $common_comm;
134 my $comm = $reads{$pid}{comm} || "";
139 printf("%6s %-20s %10s %10s %10s\n", $pid, $comm,
158 my $comm = $writes{$pid}{comm} || "";
162 printf("%6s %-20s %10s %13s\n", $pid, $comm,
Dfailed-syscalls.pl36 foreach my $comm (sort {$failed_syscalls{$b} <=> $failed_syscalls{$a}}
38 next if ($for_comm && $comm ne $for_comm);
40 printf("%-20s %10s\n", $comm, $failed_syscalls{$comm});
/external/llvm/test/MC/ELF/
Dcommon.s9 .comm common1,1,1
25 .comm common2,1,1
39 .comm common6,8,16
54 .comm common3,4,4
76 .comm common4,40,16
89 .comm common5,4,4
/external/llvm/test/MC/AsmParser/
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
/external/llvm/test/MC/MachO/
Dcomm-1.s3 .comm sym_comm_B, 2
4 .comm sym_comm_A, 4
5 .comm sym_comm_C, 8, 2
6 .comm sym_comm_D, 2, 3
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_xbiosinterrupt.S120 .comm oldmousevector,4*1
180 .comm _SDL_AtariXbios_mouselock,2*1
181 .comm _SDL_AtariXbios_mousex,2*1
182 .comm _SDL_AtariXbios_mousey,2*1
183 .comm _SDL_AtariXbios_mouseb,2*1
191 .comm oldjoystickvector,4*1
212 .comm _SDL_AtariXbios_joystick,2*1
DSDL_ataric2p.S439 .comm _SDL_Atari_C2pConvert,4
440 .comm _SDL_Atari_table_c2p,1024
442 .comm c2p_source,4 /* Source framebuffer */
443 .comm c2p_dest,4 /* Destination framebuffer */
444 .comm c2p_width,4 /* Width of zone to convert */
445 .comm c2p_height,4 /* Height of zone to convert */
446 .comm c2p_dblligne,4 /* Double the lines while converting ? */
447 .comm c2p_srcpitch,4 /* Source pitch */
448 .comm c2p_dstpitch,4 /* Destination pitch */
449 .comm c2p_cursrc,4 /* Current source line */
[all …]
DSDL_ikbdinterrupt.S171 .comm ikbd_ierb,1
172 .comm ikbd_imrb,1
180 .comm old_ikbd,4*1
400 .comm _SDL_AtariIkbd_keyboard,128
401 .comm _SDL_AtariIkbd_mousex,2
402 .comm _SDL_AtariIkbd_mousey,2
403 .comm _SDL_AtariIkbd_mouseb,2
404 .comm _SDL_AtariIkbd_joystick,2
/external/valgrind/main/mpi/
Dlibmpiwrap.c397 static __inline__ int comm_rank ( MPI_Comm comm ) in comm_rank() argument
400 err = PMPI_Comm_rank(comm, &r); in comm_rank()
404 static __inline__ int comm_size ( MPI_Comm comm ) in comm_size() argument
407 err = PMPI_Comm_size(comm, &r); in comm_size()
1058 int dest, int tag, MPI_Comm comm) in generic_Send() argument
1066 CALL_FN_W_6W(err, fn, buf,count,datatype,dest,tag,comm); in generic_Send()
1072 int dest, int tag, MPI_Comm comm) { in WRAPPER_FOR()
1073 return generic_Send(buf,count,datatype, dest,tag,comm); in WRAPPER_FOR()
1076 int dest, int tag, MPI_Comm comm) { in WRAPPER_FOR()
1077 return generic_Send(buf,count,datatype, dest,tag,comm); in WRAPPER_FOR()
[all …]
/external/linux-tools-perf/
Dbuiltin-timechart.c108 char *comm; member
186 static void pid_set_comm(int pid, char *comm) in pid_set_comm() argument
193 if (c->comm && strcmp(c->comm, comm) == 0) { in pid_set_comm()
197 if (!c->comm) { in pid_set_comm()
198 c->comm = strdup(comm); in pid_set_comm()
207 c->comm = strdup(comm); in pid_set_comm()
219 if (pp->current && pp->current->comm && !p->current) in pid_fork()
220 pid_set_comm(pid, pp->current->comm); in pid_fork()
288 pid_set_comm(event->comm.tid, event->comm.comm); in process_comm_event()
335 char comm[TASK_COMM_LEN]; member
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dalign.ll42 ;ELF: .comm bar,75,128
43 ;DARWIN: .comm _bar,75,7
45 ;; Darwin8 doesn't support aligned comm. Just miscompile this.
46 ; DARWIN8: .comm _bar,75 ;
/external/llvm/test/MC/COFF/
Dcomm.ll11 ; .comm uses log2 alignment
12 ; CHECK: .comm _c,1,0
13 ; CHECK: .comm _d,8,3
/external/llvm/test/CodeGen/X86/
Dalignment.ll18 ; CHECK: .comm GlobalB,384,8
23 ; CHECK: .comm GlobalC,384,2
40 ; CHECK: .comm GlobalBS,384,8
43 ; CHECK: .comm GlobalCS,384,2
/external/llvm/test/CodeGen/ARM/
Delf-lcomm-align.ll7 ; .lcomm doesn't support alignment, so we always use .local/.comm.
9 ; CHECK-NEXT: .comm c,1,1
11 ; CHECK-NEXT: .comm x,4,4
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
Dsched_parser.js39 /comm=(.+) pid=(\d+) prio=(\d+) success=(\d+) target_cpu=(\d+)/;
70 var comm = event[1];
73 this.importer.markPidRunnable(ts, pid, comm, prio, fromPid);

123456