Home
last modified time | relevance | path

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

12345678910>>...22

/kernel/linux/linux-5.10/tools/perf/util/
Dcomm.c108 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new()
110 struct comm *comm = zalloc(sizeof(*comm)); in comm__new() local
112 if (!comm) in comm__new()
115 comm->start = timestamp; in comm__new()
116 comm->exec = exec; in comm__new()
118 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new()
119 if (!comm->comm_str) { in comm__new()
120 free(comm); in comm__new()
124 return comm; in comm__new()
127 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument
[all …]
Dthread.c42 struct comm *comm; in thread__new() local
61 comm = comm__new(comm_str, 0, false); in thread__new()
63 if (!comm) in thread__new()
66 list_add(&comm->list, &thread->comm_list); in thread__new()
84 struct comm *comm, *tmp_comm; in thread__delete() local
103 list_for_each_entry_safe(comm, tmp_comm, &thread->comm_list, list) { in thread__delete()
104 list_del_init(&comm->list); in thread__delete()
105 comm__free(comm); in thread__delete()
208 struct comm *thread__comm(const struct thread *thread) in thread__comm()
213 return list_first_entry(&thread->comm_list, struct comm, list); in thread__comm()
[all …]
Dcomm.h11 struct comm { struct
22 void comm__free(struct comm *comm); argument
23 struct comm *comm__new(const char *str, u64 timestamp, bool exec);
24 const char *comm__str(const struct comm *comm);
25 int comm__override(struct comm *comm, const char *str, u64 timestamp,
Ddb-export.c82 static int __db_export__comm(struct db_export *dbe, struct comm *comm, in __db_export__comm() argument
85 comm->db_id = ++dbe->comm_last_db_id; in __db_export__comm()
88 return dbe->export_comm(dbe, comm, thread); in __db_export__comm()
93 int db_export__comm(struct db_export *dbe, struct comm *comm, in db_export__comm() argument
96 if (comm->db_id) in db_export__comm()
99 return __db_export__comm(dbe, comm, thread); in db_export__comm()
108 int db_export__exec_comm(struct db_export *dbe, struct comm *comm, in db_export__exec_comm() argument
113 if (comm->db_id) in db_export__exec_comm()
116 err = __db_export__comm(dbe, comm, main_thread); in db_export__exec_comm()
130 return db_export__comm_thread(dbe, comm, main_thread); in db_export__exec_comm()
[all …]
Ddb-export.h16 struct comm;
46 int (*export_comm)(struct db_export *dbe, struct comm *comm,
49 struct comm *comm, struct thread *thread);
86 int db_export__comm(struct db_export *dbe, struct comm *comm,
88 int db_export__exec_comm(struct db_export *dbe, struct comm *comm,
90 int db_export__comm_thread(struct db_export *dbe, struct comm *comm,
Dthread-stack.h15 struct comm;
19 struct comm;
56 struct comm *comm; member
105 int thread_stack__process(struct thread *thread, struct comm *comm,
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dcodec_hevc_common.c57 struct codec_hevc_common *comm, in codec_hevc_setup_buffers_gxbb() argument
77 buf_y_paddr = comm->fbc_buffer_paddr[idx]; in codec_hevc_setup_buffers_gxbb()
112 struct codec_hevc_common *comm, in codec_hevc_setup_buffers_gxl() argument
131 buf_y_paddr = comm->mmu_header_paddr[idx]; in codec_hevc_setup_buffers_gxl()
133 buf_y_paddr = comm->fbc_buffer_paddr[idx]; in codec_hevc_setup_buffers_gxl()
154 struct codec_hevc_common *comm) in codec_hevc_free_fbc_buffers() argument
161 if (comm->fbc_buffer_vaddr[i]) { in codec_hevc_free_fbc_buffers()
163 comm->fbc_buffer_vaddr[i], in codec_hevc_free_fbc_buffers()
164 comm->fbc_buffer_paddr[i]); in codec_hevc_free_fbc_buffers()
165 comm->fbc_buffer_vaddr[i] = NULL; in codec_hevc_free_fbc_buffers()
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dkeep-tracking.c33 static int find_comm(struct evlist *evlist, const char *comm) in find_comm() argument
46 (pid_t)event->comm.pid == getpid() && in find_comm()
47 (pid_t)event->comm.tid == getpid() && in find_comm()
48 strcmp(event->comm.comm, comm) == 0) in find_comm()
79 const char *comm; in test__keep_tracking() local
99 evsel->core.attr.comm = 1; in test__keep_tracking()
118 comm = "Test COMM 1"; in test__keep_tracking()
119 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
123 found = find_comm(evlist, comm); in test__keep_tracking()
140 comm = "Test COMM 2"; in test__keep_tracking()
[all …]
Dswitch-tracking.c72 union perf_event *event, const char *comm, int nr) in check_comm() argument
75 (pid_t)event->comm.pid == getpid() && in check_comm()
76 (pid_t)event->comm.tid == getpid() && in check_comm()
77 strcmp(event->comm.comm, comm) == 0) { in check_comm()
83 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
341 const char *comm; in test__switch_tracking() local
444 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) { in test__switch_tracking()
452 if (evsel->core.attr.mmap || evsel->core.attr.comm) { in test__switch_tracking()
485 comm = "Test COMM 1"; in test__switch_tracking()
486 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
[all …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dnetdev-times.py232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
235 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
241 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
250 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument
252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm,
256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument
257 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, irq, ret)
[all …]
Dintel-pt-events.py80 def print_common_start(comm, sample, name): argument
86 (comm, pid, tid, cpu, ts / 1000000000, ts %1000000000, name),
97 comm = param_dict["comm"]
112 print_common_start(comm, sample, name)
116 print_common_start(comm, sample, name)
120 print_common_start(comm, sample, name)
124 print_common_start(comm, sample, name)
128 print_common_start(comm, sample, name)
132 print_common_start(comm, sample, name)
Dfailed-syscalls-by-pid.py70 for comm in comm_keys:
71 pid_keys = syscalls[comm].keys()
73 print("\n%s [%d]" % (comm, pid))
74 id_keys = syscalls[comm][pid].keys()
77 ret_keys = syscalls[comm][pid][id].keys()
78 …for ret, val in sorted(syscalls[comm][pid][id].items(), key = lambda kv: (kv[1], kv[0]), reverse =…
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py26 def create_event(name, comm, dso, symbol, raw_buf): argument
28 event = PebsEvent(name, comm, dso, symbol, raw_buf)
30 event = PebsNHM(name, comm, dso, symbol, raw_buf)
32 event = PerfEvent(name, comm, dso, symbol, raw_buf)
38 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument
40 self.comm = comm
49 (self.name, self.symbol, self.comm, self.dso))
58 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument
72 PerfEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type)
87 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): argument
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dblock.h159 __array( char, comm, TASK_COMM_LEN )
171 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
178 __entry->nr_sector, __entry->comm)
247 __array( char, comm, TASK_COMM_LEN )
255 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
261 __entry->nr_sector, __entry->comm)
311 __array( char, comm, TASK_COMM_LEN )
319 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
325 __entry->nr_sector, __entry->comm)
378 __array( char, comm, TASK_COMM_LEN )
[all …]
Dsched.h27 __array( char, comm, TASK_COMM_LEN )
32 memcpy(__entry->comm, t->comm, TASK_COMM_LEN);
36 TP_printk("comm=%s pid=%d", __entry->comm, __entry->pid)
69 __array( char, comm, TASK_COMM_LEN )
77 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
85 __entry->comm, __entry->pid, __entry->prio,
162 memcpy(__entry->next_comm, next->comm, TASK_COMM_LEN);
166 memcpy(__entry->prev_comm, prev->comm, TASK_COMM_LEN);
201 __array( char, comm, TASK_COMM_LEN )
209 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
[all …]
Dtask.h17 __array( char, comm, TASK_COMM_LEN)
24 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
30 __entry->pid, __entry->comm,
36 TP_PROTO(struct task_struct *task, const char *comm),
38 TP_ARGS(task, comm),
49 memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
50 strlcpy(entry->newcomm, comm, TASK_COMM_LEN);
Deas_sched.h12 __array(char, comm, TASK_COMM_LEN)
25 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
38 __entry->comm, __entry->pid, __entry->prio,
52 __array(char, comm, TASK_COMM_LEN)
62 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
72 __entry->comm, __entry->pid, __entry->prio,
Drtg.h22 __array(char, comm, TASK_COMM_LEN)
31 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
38 __entry->comm, __entry->pid, __get_bitmask(cpus), __entry->msg, __entry->cpu)
50 __array(char, comm, TASK_COMM_LEN)
63 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
74 __entry->comm, __entry->pid, __entry->prio, __get_bitmask(allowed), __entry->cpu,
/kernel/linux/linux-5.10/fs/hmdfs/
DMakefile12 hmdfs-y += comm/device_node.o comm/message_verify.o comm/node_cb.o
13 hmdfs-y += comm/connection.o comm/socket_adapter.o comm/transport.o
15 hmdfs-$(CONFIG_HMDFS_FS_ENCRYPTION) += comm/crypto.o
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Dcomminit.c375 struct aac_queue_block * comm = dev->queues; in aac_comm_init() local
397 comm->queue[HostNormCmdQueue].base = queues; in aac_comm_init()
398 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); in aac_comm_init()
403 comm->queue[HostHighCmdQueue].base = queues; in aac_comm_init()
404 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); in aac_comm_init()
410 comm->queue[AdapNormCmdQueue].base = queues; in aac_comm_init()
411 aac_queue_init(dev, &comm->queue[AdapNormCmdQueue], headers, ADAP_NORM_CMD_ENTRIES); in aac_comm_init()
417 comm->queue[AdapHighCmdQueue].base = queues; in aac_comm_init()
418 aac_queue_init(dev, &comm->queue[AdapHighCmdQueue], headers, ADAP_HIGH_CMD_ENTRIES); in aac_comm_init()
424 comm->queue[HostNormRespQueue].base = queues; in aac_comm_init()
[all …]
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dpids.c47 e->id, e->pid, e->comm); in add_ref()
53 memcpy(ref->comm, e->comm, sizeof(ref->comm)); in add_ref()
63 e->id, e->pid, e->comm); in add_ref()
72 e->id, e->pid, e->comm); in add_ref()
77 memcpy(ref->comm, e->comm, sizeof(ref->comm)); in add_ref()
200 jsonw_string_field(json_writer, "comm", ref->comm); in emit_obj_refs_json()
226 printf("%s%s(%d)", i == 0 ? "" : ", ", ref->comm, ref->pid); in emit_obj_refs_plain()
/kernel/linux/common_modules/tzdriver/
Dtc_ns_log.h39 pr_info("[%s] (%i, %s)%s: " fmt, MOD_TEE, current->pid, current->comm, __func__, ## args); \
46 pr_info("[%s] (%i, %s)%s: " fmt, MOD_TEE, current->pid, current->comm, __func__, ## args); \
53 pr_info("[%s] (%i, %s)%s: " fmt, MOD_TEE, current->pid, current->comm, __func__, ## args); \
60 pr_warn("[%s] (%i, %s)%s: " fmt, MOD_TEE, current->pid, current->comm, __func__, ## args); \
65 pr_err("[%s] (%i, %s)%s: " fmt, MOD_TEE, current->pid, current->comm, __func__, ## args)
/kernel/linux/linux-5.10/kernel/locking/
Drtmutex-debug.c38 printk("%16s:%5d [%p, %3d]", p->comm, task_pid_nr(p), p, p->prio); in printk_task()
112 task->comm, task_pid_nr(task), in debug_rt_mutex_print_deadlock()
113 current->comm, task_pid_nr(current)); in debug_rt_mutex_print_deadlock()
116 current->comm, task_pid_nr(current)); in debug_rt_mutex_print_deadlock()
120 task->comm, task_pid_nr(task)); in debug_rt_mutex_print_deadlock()
127 task->comm, task_pid_nr(task)); in debug_rt_mutex_print_deadlock()
130 current->comm, task_pid_nr(current)); in debug_rt_mutex_print_deadlock()

12345678910>>...22