Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 200 of 425) sorted by relevance

123

/linux-4.1.27/tools/perf/util/
Dcomm.c77 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new()
79 struct comm *comm = zalloc(sizeof(*comm)); in comm__new() local
81 if (!comm) in comm__new()
84 comm->start = timestamp; in comm__new()
85 comm->exec = exec; in comm__new()
87 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new()
88 if (!comm->comm_str) { in comm__new()
89 free(comm); in comm__new()
93 comm_str__get(comm->comm_str); in comm__new()
95 return comm; in comm__new()
[all …]
Dthread.c32 struct comm *comm; in thread__new() local
50 comm = comm__new(comm_str, 0, false); in thread__new()
52 if (!comm) in thread__new()
55 list_add(&comm->list, &thread->comm_list); in thread__new()
68 struct comm *comm, *tmp; in thread__delete() local
76 list_for_each_entry_safe(comm, tmp, &thread->comm_list, list) { in thread__delete()
77 list_del(&comm->list); in thread__delete()
78 comm__free(comm); in thread__delete()
99 struct comm *thread__comm(const struct thread *thread) in thread__comm()
104 return list_first_entry(&thread->comm_list, struct comm, list); in thread__comm()
[all …]
Ddb-export.c30 struct comm *comm; member
41 err = dbe->export_comm(dbe, de->comm); in db_export__deferred()
63 static int db_export__defer_comm(struct db_export *dbe, struct comm *comm) in db_export__defer_comm() argument
71 de->comm = comm; in db_export__defer_comm()
123 struct machine *machine, struct comm *comm) in db_export__thread() argument
145 comm); in db_export__thread()
148 if (comm) { in db_export__thread()
149 err = db_export__comm_thread(dbe, comm, thread); in db_export__thread()
164 int db_export__comm(struct db_export *dbe, struct comm *comm, in db_export__comm() argument
169 if (comm->db_id) in db_export__comm()
[all …]
Dcomm.h10 struct comm { struct
21 void comm__free(struct comm *comm); argument
22 struct comm *comm__new(const char *str, u64 timestamp, bool exec);
23 const char *comm__str(const struct comm *comm);
24 int comm__override(struct comm *comm, const char *str, u64 timestamp,
Ddb-export.h25 struct comm;
53 int (*export_comm)(struct db_export *dbe, struct comm *comm);
55 struct comm *comm, struct thread *thread);
86 struct machine *machine, struct comm *comm);
87 int db_export__comm(struct db_export *dbe, struct comm *comm,
89 int db_export__comm_thread(struct db_export *dbe, struct comm *comm,
Dthread-stack.h25 struct comm;
30 struct comm;
60 struct comm *comm; member
105 int thread_stack__process(struct thread *thread, struct comm *comm,
Dthread.h37 struct comm;
59 int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp,
61 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm() argument
64 return __thread__set_comm(thread, comm, timestamp, false); in thread__set_comm()
68 struct comm *thread__comm(const struct thread *thread);
69 struct comm *thread__exec_comm(const struct thread *thread);
Devent.c56 static int perf_event__get_comm_ids(pid_t pid, char *comm, size_t len, in perf_event__get_comm_ids() argument
102 memcpy(comm, name, size); in perf_event__get_comm_ids()
103 comm[size] = '\0'; in perf_event__get_comm_ids()
133 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__prepare_comm()
136 if (perf_event__get_comm_ids(pid, event->comm.comm, in perf_event__prepare_comm()
137 sizeof(event->comm.comm), in perf_event__prepare_comm()
148 event->comm.pid = *tgid; in perf_event__prepare_comm()
149 event->comm.header.type = PERF_RECORD_COMM; in perf_event__prepare_comm()
151 size = strlen(event->comm.comm) + 1; in perf_event__prepare_comm()
153 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__prepare_comm()
[all …]
Dthread-stack.c105 struct comm *comm; member
203 .comm = ts->comm, in thread_stack__call_return()
663 int thread_stack__process(struct thread *thread, struct comm *comm, in thread_stack__process() argument
680 ts->comm = comm; in thread_stack__process()
687 ts->comm = comm; in thread_stack__process()
691 if (ts->comm != comm && thread->pid_ == thread->tid) { in thread_stack__process()
695 ts->comm = comm; in thread_stack__process()
Dpython.c150 member_def(comm_event, comm, T_STRING_INPLACE, "process name"),
157 pevent->event.comm.pid, in pyrf_comm_event__repr()
158 pevent->event.comm.tid, in pyrf_comm_event__repr()
159 pevent->event.comm.comm); in pyrf_comm_event__repr()
556 comm = 0, in pyrf_evsel__init() local
574 &mmap, &comm, &freq, &inherit_stat, in pyrf_evsel__init()
598 attr.comm = comm; in pyrf_evsel__init()
Dsort.h89 struct comm *comm; member
Dtool.h37 comm, member
Dmachine.c50 char comm[64]; in machine__init() local
55 snprintf(comm, sizeof(comm), "[guest/%d]", pid); in machine__init()
56 thread__set_comm(thread, comm, 0); in machine__init()
421 struct comm *machine__thread_exec_comm(struct machine *machine, in machine__thread_exec_comm()
434 event->comm.pid, in machine__process_comm_event()
435 event->comm.tid); in machine__process_comm_event()
445 __thread__set_comm(thread, event->comm.comm, sample->time, exec)) { in machine__process_comm_event()
Dsession.c273 if (tool->comm == NULL) in perf_tool__fill_defaults()
274 tool->comm = process_event_stub; in perf_tool__fill_defaults()
321 event->comm.pid = bswap_32(event->comm.pid); in perf_event__comm_swap()
322 event->comm.tid = bswap_32(event->comm.tid); in perf_event__comm_swap()
325 void *data = &event->comm.comm; in perf_event__comm_swap()
926 return tool->comm(tool, event, sample, machine); in machines__deliver_event()
Dsort.c72 const char *comm = thread__comm_str(he->thread); in hist_entry__thread_snprintf() local
76 width, width, comm ?: ""); in hist_entry__thread_snprintf()
92 return comm__str(right->comm) - comm__str(left->comm); in sort__comm_cmp()
99 return comm__str(right->comm) - comm__str(left->comm); in sort__comm_collapse()
105 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_sort()
111 return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm)); in hist_entry__comm_snprintf()
Devent.h39 char comm[16]; member
287 struct comm_event comm; member
/linux-4.1.27/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 …]
Dswitch-tracking.c63 union perf_event *event, const char *comm, int nr) in check_comm() argument
66 (pid_t)event->comm.pid == getpid() && in check_comm()
67 (pid_t)event->comm.tid == getpid() && in check_comm()
68 strcmp(event->comm.comm, comm) == 0) { in check_comm()
74 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
326 const char *comm; in test__switch_tracking() local
429 if (!tracking_evsel->attr.mmap || !tracking_evsel->attr.comm) { in test__switch_tracking()
437 if (evsel->attr.mmap || evsel->attr.comm) { in test__switch_tracking()
470 comm = "Test COMM 1"; in test__switch_tracking()
471 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
[all …]
Dperf-time-to-tsc.c77 evsel->attr.comm = 1; in test__perf_time_to_tsc()
112 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc()
113 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
116 if (strcmp(event->comm.comm, comm1) == 0) { in test__perf_time_to_tsc()
121 if (strcmp(event->comm.comm, comm2) == 0) { in test__perf_time_to_tsc()
Dperf-record.c212 (pid_t)event->comm.pid != evlist->workload.pid) { in test__PERF_RECORD()
220 event->comm.pid != event->comm.tid) { in test__PERF_RECORD()
227 if (strcmp(event->comm.comm, cmd)) { in test__PERF_RECORD()
Dhists_common.c13 const char *comm; member
98 thread__set_comm(thread, fake_threads[i].comm, 0); in setup_fake_machine()
Dhists_cumulate.c161 const char *comm; member
208 !strcmp(COMM(he), expected[i].comm) && in do_test()
Dattr.c105 WRITE_ASS(comm, "d"); in store_event()
/linux-4.1.27/include/trace/events/
Dsched.h21 __array( char, comm, TASK_COMM_LEN )
26 memcpy(__entry->comm, t->comm, TASK_COMM_LEN);
30 TP_printk("comm=%s pid=%d", __entry->comm, __entry->pid)
63 __array( char, comm, TASK_COMM_LEN )
71 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
79 __entry->comm, __entry->pid, __entry->prio,
135 memcpy(__entry->next_comm, next->comm, TASK_COMM_LEN);
139 memcpy(__entry->prev_comm, prev->comm, TASK_COMM_LEN);
165 __array( char, comm, TASK_COMM_LEN )
173 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
[all …]
Dtask.h16 __array( char, comm, TASK_COMM_LEN)
23 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
29 __entry->pid, __entry->comm,
35 TP_PROTO(struct task_struct *task, const char *comm),
37 TP_ARGS(task, comm),
48 memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
49 memcpy(entry->newcomm, comm, TASK_COMM_LEN);
Dblock.h188 __array( char, comm, TASK_COMM_LEN )
203 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
210 __entry->nr_sector, __entry->comm)
267 __array( char, comm, TASK_COMM_LEN )
276 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
282 __entry->nr_sector, __entry->comm)
333 __array( char, comm, TASK_COMM_LEN )
341 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
347 __entry->nr_sector, __entry->comm)
400 __array( char, comm, TASK_COMM_LEN )
[all …]
Doom.h16 __array( char, comm, TASK_COMM_LEN )
22 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
27 __entry->pid, __entry->comm, __entry->oom_score_adj)
Dmigrate.h80 __array( char, comm, TASK_COMM_LEN)
87 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
94 __entry->comm,
Dsignal.h61 __array( char, comm, TASK_COMM_LEN )
70 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
78 __entry->comm, __entry->pid, __entry->group,
/linux-4.1.27/tools/perf/scripts/python/
Dnetdev-times.py227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, 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, callchain, 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, callchain, 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, callchain, irq, ret): argument
252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, irq, ret)
[all …]
Dfailed-syscalls-by-pid.py69 for comm in comm_keys:
70 pid_keys = syscalls[comm].keys()
72 print "\n%s [%d]\n" % (comm, pid),
73 id_keys = syscalls[comm][pid].keys()
76 ret_keys = syscalls[comm][pid][id].keys()
77 …for ret, val in sorted(syscalls[comm][pid][id].iteritems(), key = lambda(k, v): (v, k), reverse =…
Dsyscall-counts-by-pid.py67 for comm in comm_keys:
68 pid_keys = syscalls[comm].keys()
70 print "\n%s [%d]\n" % (comm, pid),
71 id_keys = syscalls[comm][pid].keys()
72 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 common_callchain, comm, pid, runtime, vruntime):
377 common_callchain, comm, pid, delay):
382 common_callchain, comm, pid, delay):
387 common_callchain, comm, pid, delay):
397 common_callchain, comm, pid, prio):
402 common_callchain, comm, pid, prio):
407 common_callchain, comm, pid, prio):
412 common_callchain, comm, pid, prio, orig_cpu,
430 common_callchain, comm, pid, prio, success,
[all …]
Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
30 process_names[tid] = comm
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
Devent_analyzing_sample.py74 comm = param_dict["comm"]
89 event = create_event(name, comm, dso, symbol, raw_buf)
95 (event.name, event.symbol, event.comm, event.dso))
100 (event.name, event.symbol, event.comm, event.dso, event.flags,
Dcheck-perf-trace.py60 def print_header(event_name, cpu, secs, nsecs, pid, comm): argument
62 (event_name, cpu, secs, nsecs, pid, comm),
Dnet_dropmonitor.py69 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
/linux-4.1.27/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.pl41 foreach my $comm (sort {$failed_syscalls{$b} <=> $failed_syscalls{$a}}
43 next if ($for_comm && $comm ne $for_comm);
45 printf("%-20s %10s\n", $comm, $failed_syscalls{$comm});
Dcheck-perf-trace.pl102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
Dwakeup-latency.pl55 $comm, $pid, $prio, $success, $target_cpu) = @_;
/linux-4.1.27/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 …]
DCore.py115 self.comm = common_comm
/linux-4.1.27/drivers/scsi/aacraid/
Dcomminit.c276 struct aac_queue_block * comm = dev->queues; in aac_comm_init() local
298 comm->queue[HostNormCmdQueue].base = queues; in aac_comm_init()
299 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); in aac_comm_init()
304 comm->queue[HostHighCmdQueue].base = queues; in aac_comm_init()
305 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); in aac_comm_init()
311 comm->queue[AdapNormCmdQueue].base = queues; in aac_comm_init()
312 aac_queue_init(dev, &comm->queue[AdapNormCmdQueue], headers, ADAP_NORM_CMD_ENTRIES); in aac_comm_init()
318 comm->queue[AdapHighCmdQueue].base = queues; in aac_comm_init()
319 aac_queue_init(dev, &comm->queue[AdapHighCmdQueue], headers, ADAP_HIGH_CMD_ENTRIES); in aac_comm_init()
325 comm->queue[HostNormRespQueue].base = queues; in aac_comm_init()
[all …]
Drkt.c46 static int aac_rkt_select_comm(struct aac_dev *dev, int comm) in aac_rkt_select_comm() argument
49 retval = aac_rx_select_comm(dev, comm); in aac_rkt_select_comm()
50 if (comm == AAC_COMM_MESSAGE) { in aac_rkt_select_comm()
Drx.c516 int aac_rx_select_comm(struct aac_dev *dev, int comm) in aac_rx_select_comm() argument
518 switch (comm) { in aac_rx_select_comm()
/linux-4.1.27/kernel/locking/
Drtmutex-debug.c36 printk("%16s:%5d [%p, %3d]", p->comm, task_pid_nr(p), p, p->prio); in printk_task()
109 task->comm, task_pid_nr(task), in debug_rt_mutex_print_deadlock()
110 current->comm, task_pid_nr(current)); in debug_rt_mutex_print_deadlock()
113 current->comm, task_pid_nr(current)); in debug_rt_mutex_print_deadlock()
117 task->comm, task_pid_nr(task)); in debug_rt_mutex_print_deadlock()
124 task->comm, task_pid_nr(task)); in debug_rt_mutex_print_deadlock()
127 current->comm, task_pid_nr(current)); in debug_rt_mutex_print_deadlock()
Dspinlock_debug.c60 current->comm, task_pid_nr(current)); in spin_dump()
64 owner ? owner->comm : "<none>", in spin_dump()
168 msg, raw_smp_processor_id(), current->comm, in rwlock_bug()
193 raw_smp_processor_id(), current->comm,
268 raw_smp_processor_id(), current->comm,
Dlockdep.c578 printk("no locks held by %s/%d.\n", curr->comm, task_pid_nr(curr)); in lockdep_print_held_locks()
582 depth, depth > 1 ? "s" : "", curr->comm, task_pid_nr(curr)); in lockdep_print_held_locks()
1174 curr->comm, task_pid_nr(curr)); in print_circular_bug_header()
1513 curr->comm, task_pid_nr(curr), in print_bad_irq_dependency()
1742 curr->comm, task_pid_nr(curr)); in print_deadlock_bug()
2250 curr->comm, task_pid_nr(curr), in print_usage_bug()
2311 curr->comm, task_pid_nr(curr)); in print_irq_inversion_bug()
3044 printk("%s/%d is trying to lock:\n", curr->comm, task_pid_nr(curr)); in print_lock_nested_lock_not_held()
3249 curr->comm, task_pid_nr(curr)); in print_unlock_imbalance_bug()
3694 curr->comm, task_pid_nr(curr)); in print_lock_contention_bug()
[all …]
/linux-4.1.27/kernel/time/
Dtimer_stats.c77 char comm[TASK_COMM_LEN + 1]; member
167 static struct entry *tstat_lookup(struct entry *entry, char *comm) in tstat_lookup() argument
208 memcpy(curr->comm, comm, TASK_COMM_LEN); in tstat_lookup()
235 void *timerf, char *comm, in timer_stats_update_stats() argument
260 entry = tstat_lookup(&input, comm); in timer_stats_update_stats()
311 entry->count, entry->pid, entry->comm); in tstats_show()
314 entry->count, entry->pid, entry->comm); in tstats_show()
/linux-4.1.27/tools/lib/traceevent/
Dplugin_sched_switch.c51 const char *comm; in write_and_save_comm() local
54 comm = (char *)(record->data + field->offset); in write_and_save_comm()
57 field->size, comm); in write_and_save_comm()
61 comm = &s->buffer[len]; in write_and_save_comm()
64 pevent_register_comm(field->event->pevent, comm, pid); in write_and_save_comm()
Devent-parse.c137 char *comm; member
156 char *comm; member
174 cmdlines[i].comm = cmdlist->comm; in cmdline_init()
191 const struct cmdline *comm; in find_cmdline() local
202 comm = bsearch(&key, pevent->cmdlines, pevent->cmdline_count, in find_cmdline()
205 if (comm) in find_cmdline()
206 return comm->comm; in find_cmdline()
220 const struct cmdline *comm; in pevent_pid_is_registered() local
231 comm = bsearch(&key, pevent->cmdlines, pevent->cmdline_count, in pevent_pid_is_registered()
234 if (comm) in pevent_pid_is_registered()
[all …]
Dparse-filter.c32 static struct format_field comm = { variable
392 field = &comm; in create_arg_item()
1699 const char *comm; in get_comm() local
1703 comm = pevent_data_comm_from_pid(event->pevent, pid); in get_comm()
1704 return comm; in get_comm()
1714 if (field == &comm) { in get_value()
1911 if (arg->str.field == &comm) in test_str()
/linux-4.1.27/security/
Dlsm_audit.c214 char comm[sizeof(current->comm)]; in dump_common_audit_data() local
224 audit_log_untrustedstring(ab, memcpy(comm, current->comm, sizeof(comm))); in dump_common_audit_data()
284 char comm[sizeof(tsk->comm)]; in dump_common_audit_data() local
287 memcpy(comm, tsk->comm, sizeof(comm))); in dump_common_audit_data()
/linux-4.1.27/Documentation/kdump/
Dgdbmacros.txt23 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
37 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
64 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
80 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
127 printf "\npid %d; comm %s:\n", $pid_task.pid, $pid_task.comm
/linux-4.1.27/tools/perf/
Dbuiltin-timechart.c119 char *comm; member
214 static void pid_set_comm(struct timechart *tchart, int pid, char *comm) in pid_set_comm() argument
221 if (c->comm && strcmp(c->comm, comm) == 0) { in pid_set_comm()
225 if (!c->comm) { in pid_set_comm()
226 c->comm = strdup(comm); in pid_set_comm()
234 c->comm = strdup(comm); in pid_set_comm()
246 if (pp->current && pp->current->comm && !p->current) in pid_fork()
247 pid_set_comm(tchart, pid, pp->current->comm); in pid_fork()
317 pid_set_comm(tchart, event->comm.tid, event->comm.comm); in process_comm_event()
1056 task_from = strdup(c->comm); in draw_wakeups()
[all …]
Dbuiltin-sched.c39 char comm[COMM_LEN]; member
328 unsigned long pid, const char *comm) in register_pid() argument
353 strcpy(task->comm, comm); in register_pid()
367 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); in register_pid()
381 task->nr, task->comm, task->pid, task->nr_events); in print_task_traces()
512 sprintf(comm2, ":%s", this_task->comm); in thread_func()
696 const char *comm = perf_evsel__strval(evsel, sample, "comm"); in replay_wakeup_event() local
703 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pid); in replay_wakeup_event()
707 wakee = register_pid(sched, pid, comm); in replay_wakeup_event()
1691 .comm = perf_event__process_comm, in cmd_sched()
Dbuiltin-script.c627 thread = machine__findnew_thread(machine, event->comm.pid, event->comm.tid); in process_comm_event()
639 sample->tid = event->comm.tid; in process_comm_event()
640 sample->pid = event->comm.pid; in process_comm_event()
699 sample->tid = event->comm.tid; in process_exit_event()
700 sample->pid = event->comm.pid; in process_exit_event()
786 script->tool.comm = process_comm_event; in __cmd_script()
1508 .comm = perf_event__process_comm, in cmd_script()
Ddesign.txt60 comm : 1, /* include comm data */
230 The 'comm' bit allows tracking of process comm data on process creation.
366 * char comm[];
/linux-4.1.27/tools/perf/scripts/perl/bin/
Drw-by-file-report8 comm=$1
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm
Dfailed-syscalls-report6 comm=$1
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/failed-syscalls.pl $comm
/linux-4.1.27/tools/perf/scripts/python/bin/
Dsyscall-counts-report6 comm=$1
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm
Dsyscall-counts-by-pid-report6 comm=$1
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
Dfailed-syscalls-by-pid-report6 comm=$1
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm
Dsctop-report17 comm=$1
24 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval
/linux-4.1.27/arch/mips/mm/
Dfault.c54 current->comm, current->pid, field, address, write, in __do_page_fault()
130 current->comm, current->pid, in __do_page_fault()
140 current->comm, current->pid, in __do_page_fault()
215 tsk->comm, in __do_page_fault()
278 tsk->comm, in __do_page_fault()
/linux-4.1.27/sound/usb/6fire/
Dcontrol.c66 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_vol_update()
80 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_mute_update()
88 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_input_vol_update()
102 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_line_phono_update()
111 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_opt_coax_update()
122 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_set_rate()
145 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_set_channels()
166 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_streaming_update()
560 struct comm_runtime *comm_rt = chip->comm; in usb6fire_control_init()
Dcomm.c185 chip->comm = rt; in usb6fire_comm_init()
191 struct comm_runtime *rt = chip->comm; in usb6fire_comm_abort()
199 struct comm_runtime *rt = chip->comm; in usb6fire_comm_destroy()
203 chip->comm = NULL; in usb6fire_comm_destroy()
Dchip.h28 struct comm_runtime *comm; member
DMakefile1 snd-usb-6fire-objs += chip.o comm.o midi.o control.o firmware.o pcm.o
Dchip.c57 if (chip->comm) in usb6fire_chip_abort()
76 if (chip->comm) in usb6fire_chip_destroy()
Dmidi.c160 struct comm_runtime *comm_rt = chip->comm; in usb6fire_midi_init()
/linux-4.1.27/arch/ia64/kernel/
Dmca.c875 char *p, comm[sizeof(current->comm)]; in ia64_mca_modify_comm() local
877 snprintf(comm, sizeof(comm), "%s %d", in ia64_mca_modify_comm()
878 current->comm, previous_current->pid); in ia64_mca_modify_comm()
881 if ((p = strchr(previous_current->comm, ' '))) in ia64_mca_modify_comm()
882 l = p - previous_current->comm; in ia64_mca_modify_comm()
884 l = strlen(previous_current->comm); in ia64_mca_modify_comm()
885 snprintf(comm, sizeof(comm), "%s %*s %d", in ia64_mca_modify_comm()
886 current->comm, l, previous_current->comm, in ia64_mca_modify_comm()
889 memcpy(current->comm, comm, sizeof(current->comm)); in ia64_mca_modify_comm()
990 if ((p = strchr(current->comm, ' '))) in ia64_mca_modify_original_stack()
[all …]
Dtraps.c64 current->comm, task_pid_nr(current), str, err, ++die_counter); in die()
328 current->comm, task_pid_nr(current), regs->cr_iip + ia64_psr(regs)->ri, isr); in handle_fpu_swa()
467 current->comm, task_pid_nr(current), in ia64_fault()
/linux-4.1.27/arch/mips/boot/compressed/
Dhead.S55 .comm .heap,BOOT_HEAP_SIZE,4
56 .comm .stack,4096*2,4
/linux-4.1.27/drivers/scsi/
Dscsi_error.c1168 current->comm)); in scsi_eh_get_sense()
1182 current->comm)); in scsi_eh_get_sense()
1276 current->comm)); in scsi_eh_test_devices()
1329 current->comm)); in scsi_eh_abort_cmds()
1334 "%s: aborting cmd\n", current->comm)); in scsi_eh_abort_cmds()
1340 current->comm)); in scsi_eh_abort_cmds()
1400 current->comm)); in scsi_eh_stu()
1417 current->comm)); in scsi_eh_stu()
1433 current->comm)); in scsi_eh_stu()
1466 current->comm)); in scsi_eh_bus_device_reset()
[all …]
Dscsi_ioctl.c213 "ioctl, please convert it to SG_IO\n", current->comm); in scsi_ioctl()
/linux-4.1.27/include/uapi/linux/
Dcn_proc.h112 char comm[16]; member
113 } comm; member
/linux-4.1.27/arch/powerpc/platforms/chrp/
Dnvram.c34 current->comm, addr, nvram_size); in chrp_nvram_read()
55 current->comm, addr, nvram_size); in chrp_nvram_write()
/linux-4.1.27/drivers/staging/lustre/lustre/include/linux/
Dobd.h91 current->comm, current->pid, in __client_obd_list_lock()
92 lock, task->comm, task->pid, in __client_obd_list_lock()
/linux-4.1.27/drivers/block/paride/
Dcomm.c190 static struct pi_protocol comm = { variable
208 return paride_register(&comm); in comm_init()
213 paride_unregister(&comm); in comm_exit()
DMakefile11 obj-$(CONFIG_PARIDE_COMM) += comm.o
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dcatas.c106 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
131 (__iomem char *)priv->mfunc.comm + MLX4_COMM_CHAN_FLAGS); in mlx4_reset_slave()
139 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
234 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in poll_catas()
Dcmd.c256 u32 status = readl(&priv->mfunc.comm->slave_read); in comm_pending()
281 &priv->mfunc.comm->slave_write); in mlx4_comm_cmd_post()
2157 &priv->mfunc.comm[slave].slave_read); in mlx4_master_do_cmd()
2185 &priv->mfunc.comm[slave].slave_read); in mlx4_master_do_cmd()
2219 &mfunc->comm[slave].slave_write)); in mlx4_master_comm_channel()
2220 slt = swab32(readl(&mfunc->comm[slave].slave_read)) in mlx4_master_comm_channel()
2255 wr_toggle = swab32(readl(&priv->mfunc.comm->slave_write)); in sync_toggles()
2262 rd_toggle = swab32(readl(&priv->mfunc.comm->slave_read)); in sync_toggles()
2266 wr_toggle = swab32(readl(&priv->mfunc.comm-> in sync_toggles()
2286 __raw_writel((__force u32) 0, &priv->mfunc.comm->slave_read); in sync_toggles()
[all …]
/linux-4.1.27/kernel/
Dfreezer.c66 pr_debug("%s entered refrigerator\n", current->comm); in __refrigerator()
84 pr_debug("%s left refrigerator\n", current->comm); in __refrigerator()
Dcapability.c47 char name[sizeof(current->comm)]; in warn_legacy_capability_use()
71 char name[sizeof(current->comm)]; in warn_deprecated_v2()
Dsys.c2056 unsigned char comm[sizeof(me->comm)]; in SYSCALL_DEFINE5() local
2112 comm[sizeof(me->comm) - 1] = 0; in SYSCALL_DEFINE5()
2113 if (strncpy_from_user(comm, (char __user *)arg2, in SYSCALL_DEFINE5()
2114 sizeof(me->comm) - 1) < 0) in SYSCALL_DEFINE5()
2116 set_task_comm(me, comm); in SYSCALL_DEFINE5()
2120 get_task_comm(comm, me); in SYSCALL_DEFINE5()
2121 if (copy_to_user((char __user *)arg2, comm, sizeof(comm))) in SYSCALL_DEFINE5()
Dhung_task.c112 t->comm, t->pid, timeout); in check_hung_task()
Dkthread.c314 vsnprintf(task->comm, sizeof(task->comm), namefmt, args); in kthread_create_on_node()
Dauditsc.c960 u32 sid, char *comm) in audit_log_pid_context() argument
984 audit_log_untrustedstring(ab, comm); in audit_log_pid_context()
2224 memcpy(context->target_comm, t->comm, TASK_COMM_LEN); in __audit_ptrace()
2263 memcpy(ctx->target_comm, t->comm, TASK_COMM_LEN); in __audit_signal_info()
2284 memcpy(axp->target_comm[axp->pid_count], t->comm, TASK_COMM_LEN); in __audit_signal_info()
2364 char comm[sizeof(current->comm)]; in audit_log_task() local
2377 audit_log_untrustedstring(ab, get_task_comm(comm, current)); in audit_log_task()
Dtsacct.c80 strncpy(stats->ac_comm, tsk->comm, sizeof(stats->ac_comm)); in bacct_add_tsk()
/linux-4.1.27/tools/perf/util/scripting-engines/
Dtrace-event-python.c397 const char *comm = thread__comm_str(al->thread); in python_process_tracepoint() local
438 PyTuple_SetItem(t, n++, PyString_FromString(comm)); in python_process_tracepoint()
445 pydict_set_item_string_decref(dict, "common_comm", PyString_FromString(comm)); in python_process_tracepoint()
570 static int python_export_comm(struct db_export *dbe, struct comm *comm) in python_export_comm() argument
577 tuple_set_u64(t, 0, comm->db_id); in python_export_comm()
578 tuple_set_string(t, 1, comm__str(comm)); in python_export_comm()
588 struct comm *comm, struct thread *thread) in python_export_comm_thread() argument
596 tuple_set_u64(t, 1, comm->db_id); in python_export_comm_thread()
735 u64 comm_db_id = cr->comm ? cr->comm->db_id : 0; in python_export_call_return()
940 SET_TABLE_HANDLER(comm); in set_table_handlers()
Dtrace-event-perl.c260 const char *comm = thread__comm_str(thread); in perl_process_tracepoint() local
293 XPUSHs(sv_2mortal(newSVpv(comm, 0))); in perl_process_tracepoint()
327 XPUSHs(sv_2mortal(newSVpv(comm, 0))); in perl_process_tracepoint()
/linux-4.1.27/kernel/trace/
Dtrace_output.c481 char comm[TASK_COMM_LEN]; in lat_print_generic() local
483 trace_find_cmdline(entry->pid, comm); in lat_print_generic()
486 comm, entry->pid, cpu); in lat_print_generic()
568 char comm[TASK_COMM_LEN]; in trace_print_context() local
570 trace_find_cmdline(entry->pid, comm); in trace_print_context()
573 comm, entry->pid, iter->cpu); in trace_print_context()
607 char comm[TASK_COMM_LEN]; in trace_print_lat_context() local
609 trace_find_cmdline(entry->pid, comm); in trace_print_lat_context()
613 comm, entry->pid, iter->cpu, entry->flags, in trace_print_lat_context()
892 char comm[TASK_COMM_LEN]; in trace_ctxwake_print() local
[all …]
Dtrace_probe.c515 parg->comm = kstrdup(arg, GFP_KERNEL); in traceprobe_parse_probe_arg()
516 if (!parg->comm) { in traceprobe_parse_probe_arg()
520 t = strchr(parg->comm, ':'); in traceprobe_parse_probe_arg()
522 arg[t - parg->comm] = '\0'; in traceprobe_parse_probe_arg()
585 kfree(arg->comm); in traceprobe_free_probe_arg()
Dtrace_functions_graph.c499 char comm[TASK_COMM_LEN]; in print_graph_proc() local
506 trace_find_cmdline(pid, comm); in print_graph_proc()
507 comm[7] = '\0'; in print_graph_proc()
511 len = strlen(comm) + strlen(pid_str) + 1; in print_graph_proc()
520 trace_seq_printf(s, "%s-%s", comm, pid_str); in print_graph_proc()
/linux-4.1.27/arch/avr32/kernel/
Docd.c34 child->comm, child->pid); in ocd_enable()
67 child->comm, child->pid); in ocd_disable()
Dptrace.c91 tsk->comm, tsk->pid, offset, data, value); in ptrace_read_user()
107 tsk->comm, tsk->pid, offset, value); in ptrace_write_user()
Dsignal.c183 current->comm, current->pid); in setup_rt_frame()
188 current->comm, current->pid, ksig->sig, regs->sp, in setup_rt_frame()
/linux-4.1.27/Documentation/usb/
Dacm.txt80 D: Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
91 I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=acm
97 The presence of these three lines (and the Cls= 'comm' and 'data' classes)
102 D: Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
103 I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=acm
/linux-4.1.27/arch/xtensa/boot/boot-redboot/
Dbootstrap.S243 .comm _stack, STACK_SIZE
244 .comm _heap, HEAP_SIZE
247 .comm complen, 4
/linux-4.1.27/tools/perf/Documentation/
Dperf-script.txt118 comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff, srcline, period.
121 e.g., -f sw:comm,tid,time,ip,sym and -f trace:time,cpu,trace
135 -f trace: -f comm,tid,time,ip,sym
138 second invocation sets the fields to comm,tid,time,ip,sym. In this case a
145 -f comm,tid,time,ip,sym -f trace:
156 $ perf script -f comm,tid,trace
163 perf script -v -f sw:comm,tid,trace
Dperf-report.txt70 pid, comm, dso, symbol, parent, cpu, srcline, weight, local_weight.
74 - comm: command (name) of the task which can be read via /proc/<pid>/comm
97 By default, comm, dso and symbol keys are used.
98 (i.e. --sort comm,dso,symbol)
112 And default sort keys are changed to comm, dso_from, symbol_from, dso_to
Dperf-trace.txt96 --comm::
97 Show process COMM right beside its ID, on by default, disable with --no-comm.
Dperf-script-python.txt157 def print_header(event_name, cpu, secs, nsecs, pid, comm):
159 (event_name, cpu, secs, nsecs, pid, comm),
253 levels if they don't exist e.g syscalls[comm][pid][id] = 1 will create
340 rw-by-file <comm> r/w activity for a program, by file
405 rw-by-file <comm> r/w activity for a program, by file
465 field:char comm[TASK_COMM_LEN];
477 comm, pid, prio, success, target_cpu):
/linux-4.1.27/arch/sh/mm/
Dalignment.c102 tsk->comm, task_pid_nr(tsk), in unaligned_fixups_notify()
107 tsk->comm, task_pid_nr(tsk), in unaligned_fixups_notify()
/linux-4.1.27/drivers/staging/android/
Dlowmemorykiller.c156 p->pid, p->comm, oom_score_adj, tasksize); in lowmem_scan()
160 selected->pid, selected->comm, in lowmem_scan()
/linux-4.1.27/drivers/misc/
Dpti.c172 char comm[TASK_COMM_LEN]; in pti_control_frame_built_and_sent() local
181 get_task_comm(comm, current); in pti_control_frame_built_and_sent()
183 strncpy(comm, "Interrupt", TASK_COMM_LEN); in pti_control_frame_built_and_sent()
186 comm[TASK_COMM_LEN-1] = 0; in pti_control_frame_built_and_sent()
187 thread_name_p = comm; in pti_control_frame_built_and_sent()
/linux-4.1.27/mm/
Doom_kill.c376 task->signal->oom_score_adj, task->comm); in dump_tasks()
388 current->comm, gfp_mask, order, in dump_header()
532 message, task_pid_nr(p), p->comm, points); in oom_kill_process()
577 task_pid_nr(victim), victim->comm, K(victim->mm->total_vm), in oom_kill_process()
600 task_pid_nr(p), p->comm); in oom_kill_process()
Dkmemleak.c164 char comm[TASK_COMM_LEN]; /* executable name */ member
364 object->comm, object->pid, object->jiffies, in print_unreferenced()
390 object->comm, object->pid, object->jiffies); in dump_object_info()
550 strncpy(object->comm, "hardirq", sizeof(object->comm)); in create_object()
553 strncpy(object->comm, "softirq", sizeof(object->comm)); in create_object()
562 strncpy(object->comm, current->comm, sizeof(object->comm)); in create_object()
Dmemory-failure.c198 pfn, t->comm, t->pid); in kill_proc()
222 t->comm, t->pid, ret); in kill_proc()
318 page_to_pfn(p), tsk->comm); in add_to_kill()
350 pfn, tk->tsk->comm, tk->tsk->pid); in kill_procs()
364 pfn, tk->tsk->comm, tk->tsk->pid); in kill_procs()
/linux-4.1.27/drivers/iio/adc/
Dad_sigma_delta.c40 void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, uint8_t comm) in ad_sd_set_comm() argument
44 sigma_delta->comm = comm & AD_SD_COMM_CHAN_MASK; in ad_sd_set_comm()
70 data[0] = (reg << sigma_delta->info->addr_shift) | sigma_delta->comm; in ad_sd_write_reg()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_mmap.c255 CDEBUG(D_MMAP, "%s mkwrite with %d\n", current->comm, result); in ll_page_mkwrite0()
338 current->comm, fault_ret, result); in ll_fault0()
369 current->comm); in ll_fault()
395 current->comm, vmf->pgoff, in ll_page_mkwrite()
/linux-4.1.27/drivers/dma/
Ddmatest.c269 const char *thread_name = current->comm; in dmatest_mismatch()
314 current->comm, error_count - MAX_ERROR_COUNT); in dmatest_verify()
344 current->comm, n, err, src_off, dst_off, len, data); in result()
352 current->comm, n, err, src_off, dst_off, len, data); in dbg_result()
660 pr_debug("%s: verifying source buffer...\n", current->comm); in dmatest_func()
670 pr_debug("%s: verifying dest buffer...\n", current->comm); in dmatest_func()
705 current->comm, total_tests, failed_tests, in dmatest_func()
728 thread->task->comm, ret); in dmatest_cleanup_channel()
/linux-4.1.27/net/dns_resolver/
Dinternal.h39 current->comm, ##__VA_ARGS__); \
/linux-4.1.27/include/linux/iio/adc/
Dad_sigma_delta.h70 uint8_t comm; member
108 void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, uint8_t comm);
/linux-4.1.27/tools/lib/lockdep/
Dcommon.c28 prctl(PR_GET_NAME, current_obj.comm); in __curr()
/linux-4.1.27/tools/perf/tests/attr/
Dtest-record-group18 comm=0
Dtest-record-group119 comm=0
Dbase-stat22 comm=0
Dbase-record22 comm=1
Dtest-record-group-sampling27 comm=0
/linux-4.1.27/drivers/connector/
Dcn_proc.c236 ev->event_data.comm.process_pid = task->pid; in proc_comm_connector()
237 ev->event_data.comm.process_tgid = task->tgid; in proc_comm_connector()
238 get_task_comm(ev->event_data.comm.comm, task); in proc_comm_connector()
/linux-4.1.27/fs/
Dcoredump.c137 return cn_esc_printf(cn, "%s (path unknown)", current->comm); in cn_print_exe_file()
247 err = cn_esc_printf(cn, "%s", current->comm); in format_corename()
592 task_tgid_vnr(current), current->comm); in do_coredump()
601 task_tgid_vnr(current), current->comm); in do_coredump()
638 task_tgid_vnr(current), current->comm); in do_coredump()
Ddrop_caches.c61 current->comm, task_pid_nr(current), in drop_caches_sysctl_handler()
/linux-4.1.27/arch/parisc/kernel/
Dsys_parisc32.c22 current->comm, current->pid, r20); in sys32_unimplemented()
Dtraps.c239 current->comm, task_pid_nr(current), str, err, regs->iaoq[0]); in die_if_kernel()
270 current->comm, task_pid_nr(current), str, err); in die_if_kernel()
331 task_pid_nr(current), current->comm); in handle_break()
763 task_pid_nr(current), current->comm); in handle_interruption()
783 task_pid_nr(current), current->comm); in handle_interruption()
Dirq.c435 current->comm, sp, stack_start, stack_start + IRQ_STACK_SIZE); in stack_overflow_check()
452 current->comm, sp, stack_start, stack_start + THREAD_SIZE); in stack_overflow_check()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dcurproc.h58 #define current_comm() (current->comm)
/linux-4.1.27/arch/avr32/mm/
Dfault.c185 tsk->comm, tsk->pid, address, regs->pc, in do_page_fault()
253 tsk->comm, tsk->pid, address, regs->pc, in do_page_fault()
/linux-4.1.27/arch/xtensa/kernel/
Dtraps.c183 current->comm, task_pid_nr(current), regs->pc, exccause); in do_unhandled()
253 current->comm, task_pid_nr(current), regs->pc); in do_illegal_instruction()
278 regs->excvaddr, current->comm, task_pid_nr(current), regs->pc); in do_unaligned_user()
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
Dlockdep.h25 char comm[17]; member
/linux-4.1.27/lib/
Dsmp_processor_id.c43 what1, what2, preempt_count() - 1, current->comm, current->pid); in check_preemption_disabled()
/linux-4.1.27/arch/arm/kernel/
Dtraps.c254 TASK_COMM_LEN, tsk->comm, task_pid_nr(tsk), end_of_stack(tsk)); in __die()
450 current->comm, task_pid_nr(current), pc); in do_undefinstr()
518 task_pid_nr(current), current->comm, n); in bad_syscall()
696 task_pid_nr(current), current->comm, no); in arm_syscall()
773 task_pid_nr(current), current->comm, code, instr); in baddataabort()
Dswp_emulate.c195 current->comm, (unsigned long)current->pid); in swp_handler()
/linux-4.1.27/arch/x86/mm/
Dpat.c501 current->comm, current->pid, start, end - 1); in free_memtype()
632 current->comm, from, to - 1); in range_is_allowed()
703 current->comm, current->pid, in kernel_map_sync_memtype()
738 current->comm, current->pid, in reserve_pfn_range()
760 current->comm, current->pid, in reserve_pfn_range()
Dfault.c640 tsk->comm, address); in pgtable_bad()
750 tsk->comm, task_pid_nr(tsk), address, in show_signal_msg()
874 tsk->comm, tsk->pid, address); in do_sigbus()
/linux-4.1.27/mm/kasan/
Dreport.c83 info->access_size, current->comm, task_pid_nr(current)); in print_error_description()
211 info->access_size, current->comm, task_pid_nr(current)); in kasan_report_user_access()
/linux-4.1.27/arch/xtensa/mm/
Dfault.c71 printk("[%s:%d:%08x:%d:%08x:%s%s]\n", current->comm, current->pid, in do_page_fault()
245 current->comm, regs->pc, entry->fixup); in bad_page_fault()
/linux-4.1.27/tools/perf/python/
Dtwatch.py21 evsel = perf.evsel(task = 1, comm = 1, mmap = 0,
/linux-4.1.27/arch/x86/um/
Dsysrq_64.c20 current->comm, print_tainted(), init_utsname()->release); in show_regs()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/
Dlibcfs.h134 #define CFS_CURPROC_COMM_MAX (sizeof((struct task_struct *)0)->comm)
/linux-4.1.27/arch/arm64/kernel/
Dtraps.c206 TASK_COMM_LEN, tsk->comm, task_pid_nr(tsk), thread + 1); in __die()
341 current->comm, task_pid_nr(current), pc); in do_undefinstr()
367 pr_info("%s[%d]: syscall %d\n", current->comm, in do_ni_syscall()
Darmv8_deprecated.c423 current->comm, (unsigned long)current->pid, regs->pc); in swp_handler()
503 current->comm, (unsigned long)current->pid, regs->pc); in cp15barrier_handler()
581 current->comm, (unsigned long)current->pid, regs->pc); in compat_setend_handler()
/linux-4.1.27/arch/mips/netlogic/xlp/
Dcop2-ex.c107 current->pid, current->comm); in nlm_cu2_call()
/linux-4.1.27/drivers/char/agp/
Dgeneric.c521 printk(KERN_INFO PFX "%s tried to set rate=x0. Setting to x1 mode.\n", current->comm); in agp_v2_parse_one()
599 printk(KERN_INFO PFX "%s tried to set rate=x0. Setting to AGP3 x4 mode.\n", current->comm); in agp_v3_parse_one()
603 …printk(KERN_INFO PFX "%s tried to set rate=x%d. Setting to AGP3 x8 mode.\n", current->comm, tmp * … in agp_v3_parse_one()
633 current->comm, *requested_mode); in agp_v3_parse_one()
644 current->comm, *requested_mode); in agp_v3_parse_one()
653 printk(KERN_INFO PFX "%s requested AGPx8 but bridge not capable.\n", current->comm); in agp_v3_parse_one()
659 printk(KERN_INFO PFX "%s requested AGPx8 but graphic card not capable.\n", current->comm); in agp_v3_parse_one()
/linux-4.1.27/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c1025 struct asn1_octstr comm; in snmp_parse_mangle() local
1062 if (!asn1_octets_decode(&ctx, end, &comm.data, &comm.len)) in snmp_parse_mangle()
1068 for (i = 0; i < comm.len; i++) in snmp_parse_mangle()
1069 printk("%c", comm.data[i]); in snmp_parse_mangle()
1072 kfree(comm.data); in snmp_parse_mangle()
/linux-4.1.27/arch/x86/kernel/
Dirq_64.c68 current->comm, curbase, regs->sp, in stack_overflow_check()
Dvsyscall_64.c69 level, current->comm, task_pid_nr(current), in warn_bad_vsyscall()
/linux-4.1.27/arch/m32r/kernel/
Dtraps.c188 current->comm, task_pid_nr(current), 0xffff & i, 4096+(unsigned long)current); in show_registers()
308 "access\n", current->comm); in do_alignment_check()
/linux-4.1.27/security/yama/
Dyama_lsm.c324 child->pid, current->comm, current->pid); in yama_ptrace_access_check()
361 current->pid, parent->comm, parent->pid); in yama_ptrace_traceme()
/linux-4.1.27/arch/arm/nwfpe/
Dfpmodule.c151 current->comm, current->pid, flags, in float_raise()
/linux-4.1.27/arch/cris/arch-v10/kernel/
Dtraps.c45 current->comm, current->pid, (unsigned long)current); in show_registers()
/linux-4.1.27/arch/openrisc/kernel/
Dtraps.c141 current->comm, current->pid, (unsigned long)current); in show_registers()
203 ((struct task_struct *)(__pa(current)))->comm, in nommu_dump_state()
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dtraps.c53 current->comm, current->pid, (unsigned long)current); in show_registers()
/linux-4.1.27/arch/alpha/kernel/
Dpci-sysfs.c49 current->comm, sparse ? " sparse" : "", start, start + nr, in __pci_mmap_fits()
266 current->comm, sparse ? " sparse" : "", start, start + nr, in __legacy_mmap_fits()
Dtraps.c177 printk("%s(%d): %s %ld\n", current->comm, task_pid_nr(current), str, err); in die_if_kernel()
655 current->comm, task_pid_nr(current)); in do_entUna()
791 current->comm, task_pid_nr(current), in do_entUnaUser()
/linux-4.1.27/arch/frv/kernel/
Dsignal.c236 sig, current->comm, current->pid, frame, __frame->pc, in setup_frame()
318 sig, current->comm, current->pid, frame, __frame->pc, in setup_rt_frame()
/linux-4.1.27/arch/mips/kernel/
Dsignal_n32.c146 current->comm, current->pid, in setup_rt_frame_n32()
Dbranch.c844 printk("%s: DSP branch but not DSP ASE - sending SIGBUS.\n", current->comm); in __compute_return_epc_for_insn()
849 current->comm); in __compute_return_epc_for_insn()
877 printk("%s: unaligned epc - sending SIGBUS.\n", current->comm); in __compute_return_epc()
/linux-4.1.27/fs/ocfs2/cluster/
Dmasklog.h182 printk(level "(%s,%u,%lu):%s:%d " fmt, current->comm, \
/linux-4.1.27/arch/m68k/mac/
Dmacints.c331 current->comm, current->pid, current->kernel_stack_page); in mac_nmi_handler()
/linux-4.1.27/arch/powerpc/mm/
Dicswx.c254 current->comm, current->pid, ct); in acop_handle_fault()
/linux-4.1.27/arch/sh/kernel/
Dtraps.c31 printk("Process: %s (pid: %d, stack limit = %p)\n", current->comm, in die()
Dsignal_32.c326 current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); in setup_frame()
396 current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); in setup_rt_frame()
/linux-4.1.27/drivers/dma/sh/
Drcar-hpbdma.c542 struct resource *chan, *comm, *rest, *mode, *irq_res; in hpb_dmae_probe() local
550 comm = platform_get_resource(pdev, IORESOURCE_MEM, 1); in hpb_dmae_probe()
569 hpbdev->comm_reg = devm_ioremap_resource(&pdev->dev, comm); in hpb_dmae_probe()
/linux-4.1.27/Documentation/trace/
Devents.txt139 field:char comm[TASK_COMM_LEN]; offset:12; size:16;
145 print fmt: "task %s:%d [%d] success=%d [%03d]", REC->comm, REC->pid,
150 'comm' which is a string, a distinction important for event filtering.
217 # echo "((sig >= 10 && sig < 15) || sig == 17) && comm != bash" > filter
224 # echo "((sig >= 10 && sig < 15) || dsig == 17) && comm != bash" > filter
227 ((sig >= 10 && sig < 15) || dsig == 17) && comm != bash
Dtracepoint-analysis.txt253 # (For more details, try: perf report --sort comm,dso,symbol)
280 # (For more details, try: perf report --sort comm,dso,symbol)
286 $ perf report --sort comm,dso,symbol
/linux-4.1.27/fs/f2fs/
Dtrace.c77 pid, current->comm); in f2fs_trace_pid()
/linux-4.1.27/arch/sparc/mm/
Dfault_64.c160 tsk->comm, task_pid_nr(tsk), address, in show_signal_msg()
277 current->comm, current->pid, in bogus_32bit_fault_tpc()
/linux-4.1.27/arch/mn10300/kernel/
Dsignal.c253 sig, current->comm, current->pid, frame, regs->pc, in setup_frame()
319 sig, current->comm, current->pid, frame, regs->pc, in setup_rt_frame()
Dtraps.c325 current->comm, current->pid); in show_registers_only()
433 strcpy(tsk->comm, "emergency tsk"); in do_double_fault()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Ddebug.h201 KBUILD_MODNAME, current->comm, current->pid, \
/linux-4.1.27/arch/powerpc/kernel/
Dsignal_32.c1070 current->comm, current->pid, in handle_rt_signal32()
1295 current->comm, current->pid, in sys_rt_sigreturn()
1387 current->comm, current->pid, in sys_debug_setcontext()
1485 current->comm, current->pid, in handle_signal32()
1557 current->comm, current->pid, in sys_sigreturn()
Dtraps.c256 current->comm, current->pid, signr, in _exception()
1704 "in %s at %lx\n", current->comm, regs->nip); in altivec_assist_exception()
1765 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
1797 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
1890 pr_warn_ratelimited("%s used emulated %s instruction\n", current->comm, in ppc_warn_emulated_print()
/linux-4.1.27/drivers/sbus/char/
Denvctrl.c999 printk(KERN_INFO PFX "%s starting...\n", current->comm); in kenvctrld()
1014 current->comm, whichcpu, in kenvctrld()
1021 printk(KERN_INFO PFX "%s exiting...\n", current->comm); in kenvctrld()
/linux-4.1.27/arch/blackfin/kernel/
Dtrace.c135 char *name = t->comm; in decode_address()
758 if (current->comm >= (char *)FIXED_CODE_START) in dump_bfin_process()
760 current->comm, current->pid); in dump_bfin_process()
/linux-4.1.27/arch/sparc/kernel/
Dsys_sparc_32.c136 current->comm, task_pid_nr(current), (int)regs->u_regs[1]); in c_sys_nis_syscall()
/linux-4.1.27/arch/microblaze/kernel/
Dunwind.c253 task->comm); in microblaze_unwind_inner()
/linux-4.1.27/arch/nios2/mm/
Dfault.c190 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c246 DBG_88E("==> %s (%s:%d)\n", __func__, current->comm, current->pid); in rtw_suspend()
311 DBG_88E("==> %s (%s:%d)\n", __func__, current->comm, current->pid); in rtw_resume_process()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_nego.c525 conn->login_kworker->comm, conn->login_kworker->pid); in iscsi_target_login_timeout()
543 conn, current->comm, current->pid); in iscsi_target_do_login_rx()
581 pr_debug("Starting login_timer for %s/%d\n", current->comm, current->pid); in iscsi_target_do_login_rx()
596 conn, current->comm, current->pid); in iscsi_target_do_login_rx()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_info.c184 task ? task->comm : "<unknown>", in drm_clients_info()
/linux-4.1.27/arch/s390/kernel/
Dnmi.c88 current->comm, current->pid); in s390_handle_mcck()
/linux-4.1.27/include/linux/
Dtimer.h209 void *timerf, char *comm,
/linux-4.1.27/arch/parisc/mm/
Dfault.c192 tsk->comm, code, address); in show_signal_msg()
/linux-4.1.27/arch/cris/mm/
Dfault.c227 tsk->comm, tsk->pid, in do_page_fault()
/linux-4.1.27/Documentation/scsi/
Ddtc3x80.txt2 by Ray Van Tassle (rayvt@comm.mot.com) March 1996
/linux-4.1.27/arch/metag/mm/
Dfault.c192 tsk->comm, task_pid_nr(tsk), address, in do_page_fault()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dusb_intf.c281 DBG_8723A("==> %s (%s:%d)\n", __func__, current->comm, current->pid); in rtw_suspend()
349 DBG_8723A("==> %s (%s:%d)\n", __func__, current->comm, current->pid); in rtw_resume()
/linux-4.1.27/arch/x86/ia32/
Dia32_aout.c159 strncpy(dump.u_comm, current->comm, sizeof(current->comm)); in aout_core_dump()
/linux-4.1.27/arch/tile/mm/
Dfault.c298 tsk->pid, tsk->comm); in handle_page_fault()
752 current->comm, current->pid, pc, address); in do_page_fault()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dras.c384 "%s:%d\n", current->comm, current->pid); in recover_mce()
/linux-4.1.27/arch/nios2/kernel/
Dprocess.c154 pr_emerg("COMM=%s PID=%d\n", current->comm, current->pid); in dump()
/linux-4.1.27/arch/tile/kernel/
Dhardwall.c616 p->pid, p->comm, hwt->name, cpu); in hardwall_activate()
633 task->pid, task->comm, hwt->name, in _hardwall_deactivate()
662 task->pid, task->comm, hwt->name, raw_smp_processor_id()); in hardwall_deactivate()
Dtraps.c92 current->pid, current->comm); in retry_gpv()
/linux-4.1.27/net/nfc/
Dnetlink.c892 u8 comm; in nfc_genl_dep_link_up() local
906 comm = nla_get_u8(info->attrs[NFC_ATTR_COMM_MODE]); in nfc_genl_dep_link_up()
908 if (comm != NFC_COMM_ACTIVE && comm != NFC_COMM_PASSIVE) in nfc_genl_dep_link_up()
915 rc = nfc_dep_link_up(dev, tgt_idx, comm); in nfc_genl_dep_link_up()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gpu_error.c359 error->ring[i].comm, in i915_error_state_to_str()
421 error->ring[i].comm, in i915_error_state_to_str()
1015 strcpy(error->ring[i].comm, task->comm); in i915_gem_record_rings()
1247 error->ring[ring_id].comm, in i915_error_capture_msg()
/linux-4.1.27/drivers/char/pcmcia/
Dcm4040_cs.c226 DEBUGP(2, dev, "-> cm4040_read(%s,%d)\n", current->comm, current->pid); in cm4040_read()
326 DEBUGP(2, dev, "-> cm4040_write(%s,%d)\n", current->comm, current->pid); in cm4040_write()

123