Home
last modified time | relevance | path

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

123

/linux-4.4.14/tools/perf/util/
Dcomm.c82 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new()
84 struct comm *comm = zalloc(sizeof(*comm)); in comm__new() local
86 if (!comm) in comm__new()
89 comm->start = timestamp; in comm__new()
90 comm->exec = exec; in comm__new()
92 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new()
93 if (!comm->comm_str) { in comm__new()
94 free(comm); in comm__new()
98 comm_str__get(comm->comm_str); in comm__new()
100 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()
69 struct comm *comm, *tmp; in thread__delete() local
79 list_for_each_entry_safe(comm, tmp, &thread->comm_list, list) { in thread__delete()
80 list_del(&comm->list); in thread__delete()
81 comm__free(comm); in thread__delete()
103 struct comm *thread__comm(const struct thread *thread) in thread__comm()
108 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
144 comm); in db_export__thread()
147 if (comm) { in db_export__thread()
148 err = db_export__comm_thread(dbe, comm, thread); in db_export__thread()
169 int db_export__comm(struct db_export *dbe, struct comm *comm, in db_export__comm() argument
174 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
106 int thread_stack__process(struct thread *thread, struct comm *comm,
Dthread.h38 struct comm;
60 int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp,
62 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm() argument
65 return __thread__set_comm(thread, comm, timestamp, false); in thread__set_comm()
69 struct comm *thread__comm(const struct thread *thread);
70 struct comm *thread__exec_comm(const struct thread *thread);
Devent.c64 static int perf_event__get_comm_ids(pid_t pid, char *comm, size_t len, in perf_event__get_comm_ids() argument
111 memcpy(comm, name, size); in perf_event__get_comm_ids()
112 comm[size] = '\0'; in perf_event__get_comm_ids()
142 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__prepare_comm()
145 if (perf_event__get_comm_ids(pid, event->comm.comm, in perf_event__prepare_comm()
146 sizeof(event->comm.comm), in perf_event__prepare_comm()
157 event->comm.pid = *tgid; in perf_event__prepare_comm()
158 event->comm.header.type = PERF_RECORD_COMM; in perf_event__prepare_comm()
160 size = strlen(event->comm.comm) + 1; in perf_event__prepare_comm()
162 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__prepare_comm()
[all …]
Dthread_map.c359 static int get_comm(char **comm, pid_t pid) in get_comm() argument
368 err = filename__read_str(path, comm, &size); in get_comm()
375 (*comm)[size] = 0; in get_comm()
376 rtrim(*comm); in get_comm()
386 char *comm = NULL; in comm_init() local
390 map->map[i].comm = strdup("dummy"); in comm_init()
398 if (get_comm(&comm, pid)) in comm_init()
401 map->map[i].comm = comm; in comm_init()
Dthread-stack.c105 struct comm *comm; member
203 .comm = ts->comm, in thread_stack__call_return()
671 int thread_stack__process(struct thread *thread, struct comm *comm, in thread_stack__process() argument
688 ts->comm = comm; in thread_stack__process()
695 ts->comm = comm; in thread_stack__process()
699 if (ts->comm != comm && thread->pid_ == thread->tid) { in thread_stack__process()
703 ts->comm = comm; in thread_stack__process()
Dthread_map.h10 char *comm; member
51 return map->map[thread].comm; in thread_map__comm()
Dsort.h91 struct comm *comm; member
Dpython.c151 member_def(comm_event, comm, T_STRING_INPLACE, "process name"),
158 pevent->event.comm.pid, in pyrf_comm_event__repr()
159 pevent->event.comm.tid, in pyrf_comm_event__repr()
160 pevent->event.comm.comm); in pyrf_comm_event__repr()
604 comm = 0, in pyrf_evsel__init() local
622 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init()
647 attr.comm = comm; in pyrf_evsel__init()
Dtool.h42 comm, member
Dsort.c73 const char *comm = thread__comm_str(he->thread); in hist_entry__thread_snprintf() local
77 width, width, comm ?: ""); in hist_entry__thread_snprintf()
93 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_cmp()
100 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_collapse()
106 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_sort()
112 return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm)); in hist_entry__comm_snprintf()
Dmachine.c54 char comm[64]; in machine__init() local
59 snprintf(comm, sizeof(comm), "[guest/%d]", pid); in machine__init()
60 thread__set_comm(thread, comm, 0); in machine__init()
455 struct comm *machine__thread_exec_comm(struct machine *machine, in machine__thread_exec_comm()
468 event->comm.pid, in machine__process_comm_event()
469 event->comm.tid); in machine__process_comm_event()
480 __thread__set_comm(thread, event->comm.comm, sample->time, exec)) { in machine__process_comm_event()
Dsession.c307 if (tool->comm == NULL) in perf_tool__fill_defaults()
308 tool->comm = process_event_stub; in perf_tool__fill_defaults()
369 event->comm.pid = bswap_32(event->comm.pid); in perf_event__comm_swap()
370 event->comm.tid = bswap_32(event->comm.tid); in perf_event__comm_swap()
373 void *data = &event->comm.comm; in perf_event__comm_swap()
1084 return tool->comm(tool, event, sample, machine); in machines__deliver_event()
Devent.h39 char comm[16]; member
363 struct comm_event comm; member
/linux-4.4.14/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-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()
Dattr.c105 WRITE_ASS(comm, "d"); in store_event()
Dhists_cumulate.c165 const char *comm; member
212 !strcmp(COMM(he), expected[i].comm) && in do_test()
/linux-4.4.14/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,
143 memcpy(__entry->next_comm, next->comm, TASK_COMM_LEN);
147 memcpy(__entry->prev_comm, prev->comm, TASK_COMM_LEN);
174 __array( char, comm, TASK_COMM_LEN )
182 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 strlcpy(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)
Dsignal.h61 __array( char, comm, TASK_COMM_LEN )
70 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
78 __entry->comm, __entry->pid, __entry->group,
Dmigrate.h80 __array( char, comm, TASK_COMM_LEN)
87 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
94 __entry->comm,
/linux-4.4.14/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(), \
Dcompaction-times.py32 def filter(self, pid, comm): argument
33 m = self.re.search(comm)
41 def filter(self, pid, comm): argument
118 def create_pending(cls, pid, comm, start_secs, start_nsecs): argument
125 filtered = cls.fobj.filter(pid, comm)
126 head = cls.heads[pid] = chead(comm, pid, filtered)
159 def __init__(self, comm, pid, filtered): argument
160 self.comm = comm
192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val))
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
Dcall-graph-from-postgresql.py94 def setUpLevel1(self, comm_id, comm): argument
97 self.data[0] = comm
/linux-4.4.14/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.4.14/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.4.14/drivers/scsi/aacraid/
Dcomminit.c274 struct aac_queue_block * comm = dev->queues; in aac_comm_init() local
296 comm->queue[HostNormCmdQueue].base = queues; in aac_comm_init()
297 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); in aac_comm_init()
302 comm->queue[HostHighCmdQueue].base = queues; in aac_comm_init()
303 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); in aac_comm_init()
309 comm->queue[AdapNormCmdQueue].base = queues; in aac_comm_init()
310 aac_queue_init(dev, &comm->queue[AdapNormCmdQueue], headers, ADAP_NORM_CMD_ENTRIES); in aac_comm_init()
316 comm->queue[AdapHighCmdQueue].base = queues; in aac_comm_init()
317 aac_queue_init(dev, &comm->queue[AdapHighCmdQueue], headers, ADAP_HIGH_CMD_ENTRIES); in aac_comm_init()
323 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()
/linux-4.4.14/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()
3250 curr->comm, task_pid_nr(curr)); in print_unlock_imbalance_bug()
3691 curr->comm, task_pid_nr(curr)); in print_lock_contention_bug()
[all …]
/linux-4.4.14/tools/perf/arch/x86/tests/
Dperf-time-to-tsc.c79 evsel->attr.comm = 1; in test__perf_time_to_tsc()
114 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc()
115 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
118 if (strcmp(event->comm.comm, comm1) == 0) { in test__perf_time_to_tsc()
123 if (strcmp(event->comm.comm, comm2) == 0) { in test__perf_time_to_tsc()
/linux-4.4.14/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()
236 void *timerf, char *comm, u32 tflags) 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.4.14/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.4.14/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()
299 char comm[sizeof(tsk->comm)]; in dump_common_audit_data() local
302 memcpy(comm, tsk->comm, sizeof(comm))); in dump_common_audit_data()
/linux-4.4.14/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.4.14/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()
1057 task_from = strdup(c->comm); in draw_wakeups()
[all …]
Dbuiltin-sched.c39 char comm[COMM_LEN]; member
330 unsigned long pid, const char *comm) in register_pid() argument
355 strcpy(task->comm, comm); in register_pid()
369 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); in register_pid()
383 task->nr, task->comm, task->pid, task->nr_events); in print_task_traces()
514 sprintf(comm2, ":%s", this_task->comm); in thread_func()
698 const char *comm = perf_evsel__strval(evsel, sample, "comm"); in replay_wakeup_event() local
705 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pid); in replay_wakeup_event()
709 wakee = register_pid(sched, pid, comm); in replay_wakeup_event()
1590 const char *comm = thread__comm_str(data->thread), *this_comm; in __merge_work_atoms() local
[all …]
Ddesign.txt60 comm : 1, /* include comm data */
230 The 'comm' bit allows tracking of process comm data on process creation.
366 * char comm[];
Dbuiltin-inject.c514 return evsel->attr.mmap || evsel->attr.mmap2 || evsel->attr.comm || in has_tracking()
605 inject->tool.comm = perf_event__repipe_comm; in __cmd_inject()
674 .comm = perf_event__repipe, in cmd_inject()
/linux-4.4.14/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.4.14/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.4.14/samples/bpf/
Dtracex2_kern.c66 char comm[16]; member
90 bpf_get_current_comm(&key.comm, sizeof(key.comm)); in bpf_prog3()
Dtracex2_user.c25 char comm[16]; member
93 tasks[i].comm, in print_hist()
/linux-4.4.14/arch/mips/mm/
Dfault.c54 current->comm, current->pid, field, address, write, in __do_page_fault()
128 current->comm, current->pid, in __do_page_fault()
139 current->comm, current->pid, in __do_page_fault()
214 tsk->comm, in __do_page_fault()
278 tsk->comm, in __do_page_fault()
/linux-4.4.14/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.4.14/drivers/scsi/
Dscsi_error.c1178 current->comm)); in scsi_eh_get_sense()
1192 current->comm)); in scsi_eh_get_sense()
1286 current->comm)); in scsi_eh_test_devices()
1339 current->comm)); in scsi_eh_abort_cmds()
1344 "%s: aborting cmd\n", current->comm)); in scsi_eh_abort_cmds()
1350 current->comm)); in scsi_eh_abort_cmds()
1410 current->comm)); in scsi_eh_stu()
1427 current->comm)); in scsi_eh_stu()
1443 current->comm)); in scsi_eh_stu()
1476 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.4.14/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.4.14/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.4.14/include/uapi/linux/
Dcn_proc.h112 char comm[16]; member
113 } comm; member
/linux-4.4.14/arch/mips/boot/compressed/
Dhead.S71 .comm .heap,BOOT_HEAP_SIZE,4
72 .comm .stack,4096*2,4
/linux-4.4.14/drivers/staging/lustre/lustre/include/linux/
Dobd.h92 current->comm, current->pid, in __client_obd_list_lock()
93 lock, task->comm, task->pid, in __client_obd_list_lock()
/linux-4.4.14/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.4.14/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.c257 u32 status = readl(&priv->mfunc.comm->slave_read); in comm_pending()
282 &priv->mfunc.comm->slave_write); in mlx4_comm_cmd_post()
2173 &priv->mfunc.comm[slave].slave_read); in mlx4_master_do_cmd()
2201 &priv->mfunc.comm[slave].slave_read); in mlx4_master_do_cmd()
2235 &mfunc->comm[slave].slave_write)); in mlx4_master_comm_channel()
2236 slt = swab32(readl(&mfunc->comm[slave].slave_read)) in mlx4_master_comm_channel()
2271 wr_toggle = swab32(readl(&priv->mfunc.comm->slave_write)); in sync_toggles()
2278 rd_toggle = swab32(readl(&priv->mfunc.comm->slave_read)); in sync_toggles()
2282 wr_toggle = swab32(readl(&priv->mfunc.comm-> in sync_toggles()
2302 __raw_writel((__force u32) 0, &priv->mfunc.comm->slave_read); in sync_toggles()
[all …]
/linux-4.4.14/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.c2079 unsigned char comm[sizeof(me->comm)]; in SYSCALL_DEFINE5() local
2135 comm[sizeof(me->comm) - 1] = 0; in SYSCALL_DEFINE5()
2136 if (strncpy_from_user(comm, (char __user *)arg2, in SYSCALL_DEFINE5()
2137 sizeof(me->comm) - 1) < 0) in SYSCALL_DEFINE5()
2139 set_task_comm(me, comm); in SYSCALL_DEFINE5()
2143 get_task_comm(comm, me); in SYSCALL_DEFINE5()
2144 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.c317 vsnprintf(task->comm, sizeof(task->comm), namefmt, args); in kthread_create_on_node()
Dauditsc.c961 u32 sid, char *comm) in audit_log_pid_context() argument
985 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.4.14/tools/perf/util/scripting-engines/
Dtrace-event-python.c398 const char *comm = thread__comm_str(al->thread); in python_process_tracepoint() local
439 PyTuple_SetItem(t, n++, PyString_FromString(comm)); in python_process_tracepoint()
446 pydict_set_item_string_decref(dict, "common_comm", PyString_FromString(comm)); in python_process_tracepoint()
571 static int python_export_comm(struct db_export *dbe, struct comm *comm) in python_export_comm() argument
578 tuple_set_u64(t, 0, comm->db_id); in python_export_comm()
579 tuple_set_string(t, 1, comm__str(comm)); in python_export_comm()
589 struct comm *comm, struct thread *thread) in python_export_comm_thread() argument
597 tuple_set_u64(t, 1, comm->db_id); in python_export_comm_thread()
736 u64 comm_db_id = cr->comm ? cr->comm->db_id : 0; in python_export_call_return()
941 SET_TABLE_HANDLER(comm); in set_table_handlers()
Dtrace-event-perl.c261 const char *comm = thread__comm_str(thread); in perl_process_tracepoint() local
294 XPUSHs(sv_2mortal(newSVpv(comm, 0))); in perl_process_tracepoint()
328 XPUSHs(sv_2mortal(newSVpv(comm, 0))); in perl_process_tracepoint()
/linux-4.4.14/kernel/trace/
Dtrace_output.c437 char comm[TASK_COMM_LEN]; in lat_print_generic() local
439 trace_find_cmdline(entry->pid, comm); in lat_print_generic()
442 comm, entry->pid, cpu); in lat_print_generic()
528 char comm[TASK_COMM_LEN]; in trace_print_context() local
530 trace_find_cmdline(entry->pid, comm); in trace_print_context()
533 comm, entry->pid, iter->cpu); in trace_print_context()
568 char comm[TASK_COMM_LEN]; in trace_print_lat_context() local
570 trace_find_cmdline(entry->pid, comm); in trace_print_lat_context()
574 comm, entry->pid, iter->cpu, entry->flags, in trace_print_lat_context()
853 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.c498 char comm[TASK_COMM_LEN]; in print_graph_proc() local
505 trace_find_cmdline(pid, comm); in print_graph_proc()
506 comm[7] = '\0'; in print_graph_proc()
510 len = strlen(comm) + strlen(pid_str) + 1; in print_graph_proc()
519 trace_seq_printf(s, "%s-%s", comm, pid_str); in print_graph_proc()
/linux-4.4.14/fs/xfs/
Dkmem.c59 current->comm, current->pid, in kmem_alloc()
125 current->comm, current->pid, in kmem_zone_alloc()
/linux-4.4.14/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.4.14/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.4.14/arch/xtensa/boot/boot-redboot/
Dbootstrap.S243 .comm _stack, STACK_SIZE
244 .comm _heap, HEAP_SIZE
247 .comm complen, 4
/linux-4.4.14/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.4.14/drivers/staging/android/
Dlowmemorykiller.c157 p->pid, p->comm, oom_score_adj, tasksize); in lowmem_scan()
171 selected->pid, selected->comm, in lowmem_scan()
/linux-4.4.14/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.4.14/tools/perf/Documentation/
Dperf-script.txt118 comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff,
122 e.g., -f sw:comm,tid,time,ip,sym and -f trace:time,cpu,trace
136 -f trace: -f comm,tid,time,ip,sym
139 second invocation sets the fields to comm,tid,time,ip,sym. In this case a
146 -f comm,tid,time,ip,sym -f trace:
157 $ perf script -f comm,tid,trace
164 perf script -v -f sw:comm,tid,trace
Dperf-report.txt71 pid, comm, dso, symbol, parent, cpu, socket, srcline, weight, local_weight.
75 - comm: command (name) of the task which can be read via /proc/<pid>/comm
101 By default, comm, dso and symbol keys are used.
102 (i.e. --sort comm,dso,symbol)
117 And default sort keys are changed to comm, dso_from, symbol_from, dso_to
Dperf-trace.txt95 --comm::
96 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.4.14/drivers/staging/lustre/lustre/llite/
Dllite_mmap.c255 CDEBUG(D_MMAP, "%s mkwrite with %d\n", current->comm, result); in ll_page_mkwrite0()
336 current->comm, fault_ret, result); in ll_fault0()
367 current->comm); in ll_fault()
393 current->comm, vmf->pgoff, in ll_page_mkwrite()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/tools/lib/lockdep/
Dcommon.c28 prctl(PR_GET_NAME, current_obj.comm); in __curr()
/linux-4.4.14/net/dns_resolver/
Dinternal.h47 current->comm, ##__VA_ARGS__); \
/linux-4.4.14/mm/
Dkmemleak.c171 char comm[TASK_COMM_LEN]; /* executable name */ member
362 object->comm, object->pid, object->jiffies, in print_unreferenced()
388 object->comm, object->pid, object->jiffies); in dump_object_info()
568 strncpy(object->comm, "hardirq", sizeof(object->comm)); in create_object()
571 strncpy(object->comm, "softirq", sizeof(object->comm)); in create_object()
580 strncpy(object->comm, current->comm, sizeof(object->comm)); in create_object()
Doom_kill.c380 task->signal->oom_score_adj, task->comm); in dump_tasks()
391 current->comm, oc->gfp_mask, oc->order, in dump_header()
538 message, task_pid_nr(p), p->comm, points); in oom_kill_process()
589 task_pid_nr(victim), victim->comm, K(victim->mm->total_vm), in oom_kill_process()
Dmemory-failure.c189 pfn, t->comm, t->pid); in kill_proc()
213 t->comm, t->pid, ret); in kill_proc()
309 page_to_pfn(p), tsk->comm); in add_to_kill()
341 pfn, tk->tsk->comm, tk->tsk->pid); in kill_procs()
355 pfn, tk->tsk->comm, tk->tsk->pid); in kill_procs()
/linux-4.4.14/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.4.14/kernel/bpf/
Dhelpers.c169 strlcpy(buf, task->comm, min_t(size_t, size, sizeof(task->comm))); in bpf_get_current_comm()
/linux-4.4.14/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.4.14/fs/
Dcoredump.c138 return cn_esc_printf(cn, "%s (path unknown)", current->comm); in cn_print_exe_file()
252 err = cn_esc_printf(cn, "%s", current->comm); in format_corename()
596 task_tgid_vnr(current), current->comm); in do_coredump()
605 task_tgid_vnr(current), current->comm); in do_coredump()
642 task_tgid_vnr(current), current->comm); in do_coredump()
Ddrop_caches.c63 current->comm, task_pid_nr(current), in drop_caches_sysctl_handler()
/linux-4.4.14/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()
644 task_pid_nr(current), current->comm, no); in arm_syscall()
713 task_pid_nr(current), current->comm, code, instr); in baddataabort()
Dswp_emulate.c198 current->comm, (unsigned long)current->pid); in swp_handler()
/linux-4.4.14/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()
Dsignal.c409 current->comm, current->pid, frame, regs->gr[30], in setup_rt_frame()
484 current->comm, task_pid_nr(current), opcode); in check_syscallno_in_delay_branch()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dcurproc.h58 #define current_comm() (current->comm)
/linux-4.4.14/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.4.14/arch/xtensa/kernel/
Dtraps.c187 current->comm, task_pid_nr(current), regs->pc, exccause); in do_unhandled()
282 current->comm, task_pid_nr(current), regs->pc); in do_illegal_instruction()
307 regs->excvaddr, current->comm, task_pid_nr(current), regs->pc); in do_unaligned_user()
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
Dlockdep.h25 char comm[17]; member
/linux-4.4.14/lib/
Dsmp_processor_id.c43 what1, what2, preempt_count() - 1, current->comm, current->pid); in check_preemption_disabled()
/linux-4.4.14/arch/x86/um/
Dsysrq_64.c20 current->comm, print_tainted(), init_utsname()->release); in show_regs()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/
Dlibcfs.h131 #define CFS_CURPROC_COMM_MAX (sizeof((struct task_struct *)0)->comm)
/linux-4.4.14/tools/perf/python/
Dtwatch.py23 task = 1, comm = 1, mmap = 0, freq = 0,
/linux-4.4.14/mm/kasan/
Dreport.c99 info->access_size, current->comm, task_pid_nr(current)); in print_error_description()
231 info->access_size, current->comm, in kasan_report_error()
/linux-4.4.14/arch/xtensa/mm/
Dfault.c72 printk("[%s:%d:%08x:%d:%08x:%s%s]\n", current->comm, current->pid, in do_page_fault()
252 current->comm, regs->pc, entry->fixup); in bad_page_fault()
/linux-4.4.14/arch/mips/netlogic/xlp/
Dcop2-ex.c107 current->pid, current->comm); in nlm_cu2_call()
/linux-4.4.14/arch/x86/mm/
Dpat.c591 current->comm, current->pid, start, end - 1); in free_memtype()
715 current->comm, from, to - 1); in range_is_allowed()
785 current->comm, current->pid, in kernel_map_sync_memtype()
820 current->comm, current->pid, in reserve_pfn_range()
841 current->comm, current->pid, in reserve_pfn_range()
/linux-4.4.14/arch/x86/kernel/
Dirq_64.c62 current->comm, curbase, regs->sp, in stack_overflow_check()
/linux-4.4.14/arch/arm64/kernel/
Dtraps.c220 TASK_COMM_LEN, tsk->comm, task_pid_nr(tsk), thread + 1); in __die()
355 current->comm, task_pid_nr(current), pc); in do_undefinstr()
381 pr_info("%s[%d]: syscall %d\n", current->comm, in do_ni_syscall()
Darmv8_deprecated.c430 current->comm, (unsigned long)current->pid, regs->pc); in swp_handler()
510 current->comm, (unsigned long)current->pid, regs->pc); in cp15barrier_handler()
578 current->comm, (unsigned long)current->pid, regs->pc); in compat_setend_handler()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/security/yama/
Dyama_lsm.c313 child->pid, current->comm, current->pid); in yama_ptrace_access_check()
343 current->pid, parent->comm, parent->pid); in yama_ptrace_traceme()
/linux-4.4.14/arch/arm/nwfpe/
Dfpmodule.c151 current->comm, current->pid, flags, in float_raise()
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dtraps.c45 current->comm, current->pid, (unsigned long)current); in show_registers()
/linux-4.4.14/scripts/gdb/linux/
Dtasks.py80 comm=task["comm"].string()))
/linux-4.4.14/arch/arc/kernel/
Dasm-offsets.c41 DEFINE(TASK_COMM, offsetof(struct task_struct, comm)); in main()
/linux-4.4.14/arch/h8300/kernel/
Dtraps.c60 pr_info("COMM=%s PID=%d\n", current->comm, current->pid); in dump()
/linux-4.4.14/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.4.14/arch/cris/arch-v32/kernel/
Dtraps.c53 current->comm, current->pid, (unsigned long)current); in show_registers()
/linux-4.4.14/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.4.14/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.4.14/arch/mips/kernel/
Dsignal_n32.c145 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()
Dsignal32.c350 current->comm, current->pid, in setup_frame_32()
397 current->comm, current->pid, in setup_rt_frame_32()
/linux-4.4.14/arch/m68k/mac/
Dmacints.c331 current->comm, current->pid, current->kernel_stack_page); in mac_nmi_handler()
/linux-4.4.14/arch/powerpc/mm/
Dicswx.c254 current->comm, current->pid, ct); in acop_handle_fault()
/linux-4.4.14/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.4.14/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.4.14/fs/f2fs/
Dtrace.c77 pid, current->comm); in f2fs_trace_pid()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/wireless/realtek/rtlwifi/
Ddebug.h201 KBUILD_MODNAME, current->comm, current->pid, \
/linux-4.4.14/arch/powerpc/kernel/
Dsignal_32.c1075 current->comm, current->pid, in handle_rt_signal32()
1300 current->comm, current->pid, in sys_rt_sigreturn()
1392 current->comm, current->pid, in sys_debug_setcontext()
1490 current->comm, current->pid, in handle_signal32()
1562 current->comm, current->pid, in sys_sigreturn()
Dtraps.c256 current->comm, current->pid, signr, in _exception()
1741 "in %s at %lx\n", current->comm, regs->nip); in altivec_assist_exception()
1802 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointException()
1834 "in %s at %lx\n", current->comm, regs->nip); in SPEFloatingPointRoundException()
1927 pr_warn_ratelimited("%s used emulated %s instruction\n", current->comm, in ppc_warn_emulated_print()
/linux-4.4.14/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.4.14/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.4.14/arch/nios2/mm/
Dfault.c190 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
/linux-4.4.14/arch/microblaze/kernel/
Dunwind.c253 task->comm); in microblaze_unwind_inner()
/linux-4.4.14/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.4.14/fs/ocfs2/cluster/
Dmasklog.c94 level, current->comm, task_pid_nr(current), in __mlog_printk()
/linux-4.4.14/arch/arm64/mm/
Dfault.c172 tsk->comm, task_pid_nr(tsk), fault_name(esr), sig, in __do_user_fault()
544 tsk->comm, task_pid_nr(tsk), in do_sp_pc_abort()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c232 pr_debug("==> %s (%s:%d)\n", __func__, current->comm, current->pid); in rtw_suspend()
297 pr_debug("==> %s (%s:%d)\n", __func__, current->comm, current->pid); in rtw_resume_process()
/linux-4.4.14/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
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_nego.c520 conn->login_kworker->comm, conn->login_kworker->pid); in iscsi_target_login_timeout()
538 conn, current->comm, current->pid); in iscsi_target_do_login_rx()
576 pr_debug("Starting login_timer for %s/%d\n", current->comm, current->pid); in iscsi_target_do_login_rx()
591 conn, current->comm, current->pid); in iscsi_target_do_login_rx()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_info.c184 task ? task->comm : "<unknown>", in drm_clients_info()
/linux-4.4.14/arch/s390/kernel/
Dnmi.c94 current->comm, current->pid); in s390_handle_mcck()
/linux-4.4.14/arch/metag/mm/
Dfault.c192 tsk->comm, task_pid_nr(tsk), address, in do_page_fault()
/linux-4.4.14/Documentation/scsi/
Ddtc3x80.txt2 by Ray Van Tassle (rayvt@comm.mot.com) March 1996
/linux-4.4.14/arch/cris/mm/
Dfault.c227 tsk->comm, tsk->pid, in do_page_fault()
/linux-4.4.14/arch/parisc/mm/
Dfault.c192 tsk->comm, code, address); in show_signal_msg()
/linux-4.4.14/arch/x86/ia32/
Dia32_aout.c159 strncpy(dump.u_comm, current->comm, sizeof(current->comm)); in aout_core_dump()

123