Home
last modified time | relevance | path

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

1234567

/external/linux-tools-perf/src/tools/perf/util/
Dthread.c19 self->comm = malloc(32); in thread__new()
20 if (self->comm) in thread__new()
21 snprintf(self->comm, 32, ":%d", self->tid); in thread__new()
30 free(self->comm); in thread__delete()
34 int thread__set_comm(struct thread *self, const char *comm) in thread__set_comm() argument
38 if (self->comm) in thread__set_comm()
39 free(self->comm); in thread__set_comm()
40 self->comm = strdup(comm); in thread__set_comm()
41 err = self->comm == NULL ? -ENOMEM : 0; in thread__set_comm()
51 if (!self->comm) in thread__comm_len()
[all …]
Devent.c48 static pid_t perf_event__get_comm_tgid(pid_t pid, char *comm, size_t len) in perf_event__get_comm_tgid() argument
64 while (!comm[0] || (tgid < 0)) { in perf_event__get_comm_tgid()
78 memcpy(comm, name, size); in perf_event__get_comm_tgid()
79 comm[size] = '\0'; in perf_event__get_comm_tgid()
106 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__synthesize_comm()
108 tgid = perf_event__get_comm_tgid(pid, event->comm.comm, in perf_event__synthesize_comm()
109 sizeof(event->comm.comm)); in perf_event__synthesize_comm()
113 event->comm.pid = tgid; in perf_event__synthesize_comm()
114 event->comm.header.type = PERF_RECORD_COMM; in perf_event__synthesize_comm()
116 size = strlen(event->comm.comm) + 1; in perf_event__synthesize_comm()
[all …]
/external/linux-tools-perf/src/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(), \
/external/linux-tools-perf/src/tools/perf/tests/
Dkeep-tracking.c26 static int find_comm(struct perf_evlist *evlist, const char *comm) in find_comm() argument
35 (pid_t)event->comm.pid == getpid() && in find_comm()
36 (pid_t)event->comm.tid == getpid() && in find_comm()
37 strcmp(event->comm.comm, comm) == 0) in find_comm()
68 const char *comm; in test__keep_tracking() local
88 evsel->attr.comm = 1; in test__keep_tracking()
107 comm = "Test COMM 1"; in test__keep_tracking()
108 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
112 found = find_comm(evlist, comm); in test__keep_tracking()
129 comm = "Test COMM 2"; in test__keep_tracking()
[all …]
Dperf-time-to-tsc.c88 evsel->attr.comm = 1; in test__perf_time_to_tsc()
123 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc()
124 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
127 if (strcmp(event->comm.comm, comm1) == 0) { in test__perf_time_to_tsc()
132 if (strcmp(event->comm.comm, comm2) == 0) { in test__perf_time_to_tsc()
/external/linux-tools-perf/src/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];
Drwtop.pl63 $reads{$common_pid}{comm} = $common_comm;
89 $writes{$common_pid}{comm} = $common_comm;
138 my $comm = $reads{$pid}{comm} || "";
143 printf("%6s %-20s %10s %10s %10s\n", $pid, $comm,
162 my $comm = $writes{$pid}{comm} || "";
166 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/chromium-trace/test_data/
Datrace_data_raw27 …<idle>-0 [000] d..4 1212.465074: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
33 …<idle>-0 [000] d..4 1212.465102: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
39 …<idle>-0 [000] d..4 1212.465139: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
45 …<idle>-0 [000] d.h5 1212.465297: sched_wakeup: comm=adbd pid=212 prio=120 success=1 target_cp…
49 …adbd-212 [000] d..4 1212.465329: sched_wakeup: comm=adbd pid=209 prio=120 success=1 target_cpu=…
53 …adbd-209 [000] d..4 1212.465395: sched_wakeup: comm=adbd pid=211 prio=120 success=1 target_cpu=…
59 …<idle>-0 [000] d.h5 1212.574554: sched_wakeup: comm=sensors.qcom pid=292 prio=120 success=1 t…
65 …sensors.qcom-14447 [000] d..4 1212.574797: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succ…
71 …sensors.qcom-14447 [000] d..3 1212.574823: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succ…
75 …sensors.qcom-1593 [000] d..4 1212.574865: sched_wakeup: comm=sensors.qcom pid=760 prio=120 succe…
[all …]
Datrace_data_stripped13 …<idle>-0 [000] d..4 1212.465074: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
16 …<idle>-0 [000] d..4 1212.465102: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
19 …<idle>-0 [000] d..4 1212.465139: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
22 …<idle>-0 [000] d.h5 1212.465297: sched_wakeup: comm=adbd pid=212 prio=120 success=1 target_cp…
24 …adbd-212 [000] d..4 1212.465329: sched_wakeup: comm=adbd pid=209 prio=120 success=1 target_cpu=…
26 …adbd-209 [000] d..4 1212.465395: sched_wakeup: comm=adbd pid=211 prio=120 success=1 target_cpu=…
29 …<idle>-0 [000] d.h5 1212.574554: sched_wakeup: comm=sensors.qcom pid=292 prio=120 success=1 t…
32 …sensors.qcom-14447 [000] d..4 1212.574797: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succ…
35 …sensors.qcom-14447 [000] d..3 1212.574823: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succ…
37 …sensors.qcom-1593 [000] d..4 1212.574865: sched_wakeup: comm=sensors.qcom pid=760 prio=120 succe…
[all …]
Datrace_data_thread_fixed13 …<idle>-0 [000] d..4 1212.465074: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
16 …<idle>-0 [000] d..4 1212.465102: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
19 …<idle>-0 [000] d..4 1212.465139: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
22 …<idle>-0 [000] d.h5 1212.465297: sched_wakeup: comm=adbd pid=212 prio=120 success=1 target_cp…
24 adbd-212 [000] d..4 1212.465329: sched_wakeup: comm=adbd pid=209 prio=120 success=1 target_cpu=0…
26 /sbin/adbd-209 [000] d..4 1212.465395: sched_wakeup: comm=adbd pid=211 prio=120 success=1 target…
29 …<idle>-0 [000] d.h5 1212.574554: sched_wakeup: comm=sensors.qcom pid=292 prio=120 success=1 t…
32 sensors.qcom-14447 [000] d..4 1212.574797: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succe…
35 sensors.qcom-14447 [000] d..3 1212.574823: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succe…
37 sensors.qcom-1593 [000] d..4 1212.574865: sched_wakeup: comm=sensors.qcom pid=760 prio=120 succes…
[all …]
Datrace_data13 …<idle>-0 [000] d..4 1212.465074: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
16 …<idle>-0 [000] d..4 1212.465102: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
19 …<idle>-0 [000] d..4 1212.465139: sched_wakeup: comm=ksoftirqd/0 pid=3 prio=120 success=1 targ…
22 …<idle>-0 [000] d.h5 1212.465297: sched_wakeup: comm=adbd pid=212 prio=120 success=1 target_cp…
24 adbd-212 [000] d..4 1212.465329: sched_wakeup: comm=adbd pid=209 prio=120 success=1 target_cpu=0…
26 /sbin/adbd-209 [000] d..4 1212.465395: sched_wakeup: comm=adbd pid=211 prio=120 success=1 target…
29 …<idle>-0 [000] d.h5 1212.574554: sched_wakeup: comm=sensors.qcom pid=292 prio=120 success=1 t…
32 sensors.qcom-14447 [000] d..4 1212.574797: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succe…
35 sensors.qcom-14447 [000] d..3 1212.574823: sched_wakeup: comm=sensors.qcom pid=1593 prio=120 succe…
37 sensors.qcom-1593 [000] d..4 1212.574865: sched_wakeup: comm=sensors.qcom pid=760 prio=120 succes…
[all …]
/external/linux-tools-perf/src/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py24 def create_event(name, comm, dso, symbol, raw_buf): argument
26 event = PebsEvent(name, comm, dso, symbol, raw_buf)
28 event = PebsNHM(name, comm, dso, symbol, raw_buf)
30 event = PerfEvent(name, comm, dso, symbol, raw_buf)
36 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument
38 self.comm = comm
46 … event: name=%12s, symbol=%24s, comm=%8s, dso=%12s" % (self.name, self.symbol, self.comm, self.dso)
55 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument
69 PerfEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type)
84 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): argument
[all …]
/external/chromium-trace/trace-viewer/tracing/test_data/
Dandroid_systrace.txt6 …kworker/0:0-13696 [000] 50260.647590: sched_wakeup: comm=mmcqd/0 pid=95 prio=120 success=1 target_…
7 …kworker/0:0-13696 [000] 50260.647602: sched_wakeup: comm=adbd pid=14582 prio=120 success=1 target_…
9 …adbd-14582 [000] 50260.647722: sched_wakeup: comm=adbd pid=14584 prio=120 success=1 target_cpu=000…
14 …<idle>-0 [000] 50260.648739: sched_wakeup: comm=adbd pid=14585 prio=120 success=1 target_cpu=0…
16 …adbd-14585 [000] 50260.648784: sched_wakeup: comm=adbd pid=14582 prio=120 success=1 target_cpu=000…
18 …adbd-14582 [000] 50260.648851: sched_wakeup: comm=adbd pid=14584 prio=120 success=1 target_cpu=000…
21 …<idle>-0 [000] 50260.663310: sched_wakeup: comm=WebViewCoreThre pid=11043 prio=120 success=1 t…
24 …<idle>-0 [000] 50260.680341: sched_wakeup: comm=kworker/0:0 pid=13696 prio=120 success=1 targe…
27 …<idle>-0 [000] 50260.680675: sched_wakeup: comm=kworker/0:0 pid=13696 prio=120 success=1 targe…
30 …<idle>-0 [000] 50260.680884: sched_wakeup: comm=kworker/0:0 pid=13696 prio=120 success=1 targe…
[all …]
/external/selinux/sepolgen/tests/test_data/
Daudit.log1 type=AVC msg=audit(1162850331.422:978): avc: denied { ioctl } for pid=6314 comm="pam_timestamp_c…
2 …=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) comm="pam_timestamp_c" e…
4 type=AVC msg=audit(1162850332.318:979): avc: denied { read } for pid=6306 comm="beagled" name=".…
5 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="beagled" exe="/usr…
6 type=AVC msg=audit(1162850333.186:980): avc: denied { read } for pid=6306 comm="beagled" name="m…
7 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="beagled" exe="/usr…
8 type=AVC msg=audit(1162850335.022:981): avc: denied { read write } for pid=6336 comm="clock-appl…
9 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="clock-applet" exe=…
10 type=AVC msg=audit(1162850335.022:982): avc: denied { lock } for pid=6336 comm="clock-applet" na…
11 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="clock-applet" exe=…
[all …]
Dshort.log1 type=AVC msg=audit(1162850331.422:978): avc: denied { ioctl } for pid=6314 comm="pam_timestamp_c…
2 …=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) comm="pam_timestamp_c" e…
4 type=AVC msg=audit(1162850332.318:979): avc: denied { read } for pid=6306 comm="beagled" name=".…
5 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="beagled" exe="/usr…
6 type=AVC msg=audit(1162850333.186:980): avc: denied { read } for pid=6306 comm="beagled" name="m…
7 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="beagled" exe="/usr…
8 type=AVC msg=audit(1162850335.022:981): avc: denied { read write } for pid=6336 comm="clock-appl…
9 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="clock-applet" exe=…
10 type=AVC msg=audit(1162850335.022:982): avc: denied { lock } for pid=6336 comm="clock-applet" na…
11 …id=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) comm="clock-applet" exe=…
[all …]
Dhttpd.log3151 type=AVC msg=audit(1163772874.970:11234): avc: denied { execute } for pid=8103 comm="dbus-daemon…
3152 type=AVC msg=audit(1163772874.970:11234): avc: denied { execute_no_trans } for pid=8103 comm="db…
3153 type=AVC msg=audit(1163772874.970:11234): avc: denied { read } for pid=8103 comm="dbus-daemon" n…
3154 …id=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) comm="dhcdbd" exe="/sbin…
3157 type=AVC msg=audit(1163772875.014:11235): avc: denied { write } for pid=8103 comm="dhcdbd" name=…
3158 type=AVC msg=audit(1163772875.014:11235): avc: denied { connectto } for pid=8103 comm="dhcdbd" n…
3159 …id=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) comm="dhcdbd" exe="/sbin…
3162 type=AVC msg=audit(1163772875.030:11237): avc: denied { write } for pid=8102 comm="dbus-daemon" …
3163 …id=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) comm="dbus-daemon" exe="…
3165 type=AVC msg=audit(1163772875.030:11238): avc: denied { read } for pid=8102 comm="dbus-daemon" n…
[all …]
/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/selinux/policycoreutils/audit2allow/
Dtest.log2 type=AVC msg=audit(1166045975.667:1129): avc: denied { write } for comm=local dev=dm-0 name=root.lo…
4 …d=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) comm="automount" exe="/u…
5 …VC msg=audit(1166111074.191:74): avc: denied { execute } for pid=13944 comm="automount" name="a…
6 …id=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10 comm="httpd" exe="/usr/s…
7 …msg=audit(1165963069.244:851): avc: denied { name_bind } for pid=21134 comm="httpd" src=81 scon…
8 …id=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10 comm="smbd" exe="/usr/sb…
9 …=audit(1165963069.244:852): avc: denied { name_connect } for pid=21134 comm="smbd" src=81 scont…
10 … euid=3267 suid=3267 fsuid=3267 egid=3267 sgid=3267 fsgid=3267 tty=(none) comm="vsftpd" exe="/usr/…
11 …VC msg=audit(1166023021.373:910): avc: denied { search } for pid=24427 comm="vsftpd" name="home…
12 …id=3267 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts10 comm="httpd" exe="/usr/s…
[all …]
/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/valgrind/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()
1060 int dest, int tag, MPI_Comm comm) in generic_Send() argument
1068 CALL_FN_W_6W(err, fn, buf,count,datatype,dest,tag,comm); in generic_Send()
1074 int dest, int tag, MPI_Comm comm) { in WRAPPER_FOR()
1075 return generic_Send(buf,count,datatype, dest,tag,comm); in WRAPPER_FOR()
1078 int dest, int tag, MPI_Comm comm) { in WRAPPER_FOR()
1079 return generic_Send(buf,count,datatype, dest,tag,comm); in WRAPPER_FOR()
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-timechart.c102 char *comm; member
179 static void pid_set_comm(int pid, char *comm) in pid_set_comm() argument
186 if (c->comm && strcmp(c->comm, comm) == 0) { in pid_set_comm()
190 if (!c->comm) { in pid_set_comm()
191 c->comm = strdup(comm); in pid_set_comm()
199 c->comm = strdup(comm); in pid_set_comm()
211 if (pp->current && pp->current->comm && !p->current) in pid_fork()
212 pid_set_comm(pid, pp->current->comm); in pid_fork()
279 pid_set_comm(event->comm.tid, event->comm.comm); in process_comm_event()
328 char comm[TASK_COMM_LEN]; member
[all …]

1234567