/linux-master/tools/perf/scripts/perl/ |
H A D | check-perf-trace.pl | 102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_; 105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
|
/linux-master/drivers/ata/pata_parport/ |
H A D | Makefile | 7 obj-$(CONFIG_PATA_PARPORT_COMM) += comm.o
|
/linux-master/tools/perf/tests/shell/ |
H A D | record+zstd_comp_decomp.sh | 28 $perf_tool report -i "$trace_file" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.comp.output" && 29 $perf_tool report -i "$trace_file.decomp" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.decomp.output" &&
|
/linux-master/tools/perf/scripts/python/ |
H A D | arm-cs-trace-disasm.py | 129 def common_start_str(comm, sample): 135 return "%16s %5u/%-5u [%04u] %9u.%09u " % (comm, pid, tid, cpu, sec, ns) 139 def print_srccode(comm, param_dict, sample, symbol, dso): 142 start_str = common_start_str(comm, sample) + ("%x" % ip).rjust(16).ljust(40) 145 start_str = common_start_str(comm, sample) + (symbol + offs).ljust(40) 182 comm = param_dict["comm"] 216 print_srccode(comm, param_dict, sample, symbol, dso) 275 print_srccode(comm, param_dict, sample, symbol, dso)
|
H A D | compaction-times.py | 14 usage = "usage: perf script report compaction-times.py -- [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid|pid-range|comm-regex]\n" 32 def filter(self, pid, comm): 33 m = self.re.search(comm) 41 def filter(self, pid, comm): 118 def create_pending(cls, pid, comm, start_secs, start_nsecs): 125 filtered = cls.fobj.filter(pid, comm) 126 head = cls.heads[pid] = chead(comm, pid, filtered) 159 def __init__(self, comm, pid, filtered): 160 self.comm = comm [all...] |
H A D | sched-migration.py | 355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): 374 common_callchain, comm, pid, runtime, vruntime): 379 common_callchain, comm, pid, delay): 384 common_callchain, comm, pid, delay): 389 common_callchain, comm, pid, delay): 399 common_callchain, comm, pid, prio): 404 common_callchain, comm, pid, prio): 409 common_callchain, comm, pid, prio): 414 common_callchain, comm, pid, prio, orig_cpu, 432 common_callchain, comm, pi [all...] |
H A D | task-analyzer.py | 141 help="colorize special tasks by their pid/tid/comm." 201 db["task_info"]["comm"] = len("Comm") 304 def __init__(self, pid, tid, comm, runs, acc, mean, 308 self.comm = comm 354 fmt += "{}{{:>{}}}".format(separator, db["task_info"]["comm"] * fix_csv_align) 414 comm = task.comm 433 align_helper = self.AlignmentHelper(pid, tid, comm, no_executed, time_sum, 435 self._body.append([pid, tid, comm, no_execute [all...] |
/linux-master/tools/testing/selftests/drivers/net/lib/py/ |
H A D | remote_ssh.py | 22 def cmd(self, comm): 23 return subprocess.Popen(["ssh", "-q", self.name, comm],
|
/linux-master/include/trace/events/ |
H A D | oom.h | 20 __array( char, comm, TASK_COMM_LEN ) 26 memcpy(__entry->comm, task->comm, TASK_COMM_LEN); 30 TP_printk("pid=%d comm=%s oom_score_adj=%hd", 31 __entry->pid, __entry->comm, __entry->oom_score_adj) 83 __string(comm, task->comm) 95 __assign_str(comm); 105 TP_printk("pid=%d comm=%s total-vm=%lukB anon-rss=%lukB file-rss:%lukB shmem-rss:%lukB uid=%u pgtables=%lukB oom_score_adj=%hd", 107 __get_str(comm), [all...] |
H A D | osnoise.h | 16 __array( char, comm, TASK_COMM_LEN) 23 memcpy(__entry->comm, t->comm, TASK_COMM_LEN); 30 __entry->comm,
|
/linux-master/tools/perf/tests/ |
H A D | perf-time-to-tsc.c | 110 evsel->core.attr.comm = 1; 157 (pid_t)event->comm.pid != getpid() || 158 (pid_t)event->comm.tid != getpid()) 161 if (strcmp(event->comm.comm, comm1) == 0) { 166 if (strcmp(event->comm.comm, comm2) == 0) {
|
H A D | dlfilter-test.c | 127 struct perf_record_comm comm; local 128 ssize_t sz = sizeof(comm); 130 comm.header.type = PERF_RECORD_COMM; 131 comm.header.misc = PERF_RECORD_MISC_USER; 132 comm.header.size = sz; 134 comm.pid = pid; 135 comm.tid = tid; 136 strncpy(comm.comm, comm_str, 16); 138 if (writen(fd, &comm, s [all...] |
H A D | perf-record.c | 106 * Config the evsels, setting attr->comm on the first one, etc. 229 (pid_t)event->comm.pid != evlist->workload.pid) { 237 event->comm.pid != event->comm.tid) { 244 if (strcmp(event->comm.comm, cmd)) { 245 pr_debug("%s with unexpected comm!\n", name);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_overhead.c | 24 fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); 70 char comm[16] = {}; local 72 if (CHECK_FAIL(prctl(PR_GET_NAME, comm, 0L, 0L, 0L))) 146 prctl(PR_SET_NAME, comm, 0L, 0L, 0L);
|
/linux-master/tools/perf/util/ |
H A D | thread_map.c | 318 static int get_comm(char **comm, pid_t pid) argument 324 if (asprintf(&path, "%s/%d/comm", procfs__mountpoint(), pid) == -1) 327 err = filename__read_str(path, comm, &size); 334 (*comm)[size] = 0; 335 strim(*comm); 345 char *comm = NULL; local 347 /* dummy pid comm initialization */ 349 map->map[i].comm = strdup("dummy"); 354 * The comm name is like extra bonus ;-), 357 if (get_comm(&comm, pi [all...] |
/linux-master/tools/bpf/bpftool/skeleton/ |
H A D | pid_iter.bpf.c | 112 bpf_probe_read_kernel_str(&e.comm, sizeof(e.comm), 113 task->group_leader->comm);
|
/linux-master/tools/perf/python/ |
H A D | twatch.py | 16 task = 1, comm = 1, mmap = 0, freq = 0,
|
/linux-master/lib/ |
H A D | smp_processor_id.c | 46 what1, what2, preempt_count() - 1, current->comm, current->pid);
|
/linux-master/samples/bpf/ |
H A D | test_overhead_kprobe.bpf.c | 26 bpf_core_read_str(oldcomm, sizeof(oldcomm), &tsk->comm);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | logger.c | 131 device_instance, current->comm, prefix, vaf1, 141 (strncmp(module, current->comm, strlen(module)) == 0)) { 142 emit_log_message_to_kernel(priority, "%s: %s%pV%pV\n", current->comm, 148 emit_log_message_to_kernel(priority, "%s: %s: %s%pV%pV\n", module, current->comm,
|
/linux-master/arch/powerpc/platforms/chrp/ |
H A D | nvram.c | 30 current->comm, addr, nvram_size); 51 current->comm, addr, nvram_size);
|
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-hist-mod.tc | 16 COMM=`cat /proc/$$/comm`
|
/linux-master/include/uapi/linux/ |
H A D | cn_proc.h | 138 char comm[16]; member in struct:proc_event::__anon240::comm_proc_event 139 } comm; member in union:proc_event::__anon240
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gpu.c | 202 if (state->comm) 203 drm_printf(&p, "comm: %s\n", state->comm); 258 struct msm_gem_submit *submit, char *comm, char *cmd) 275 state->comm = kstrdup(comm, GFP_KERNEL); 300 struct msm_gem_submit *submit, char *comm, char *cmd) 329 static void get_comm_cmdline(struct msm_gem_submit *submit, char **comm, char **cmd) argument 337 *comm = kstrdup(ctx->comm, GFP_KERNE 257 msm_gpu_crashstate_capture(struct msm_gpu *gpu, struct msm_gem_submit *submit, char *comm, char *cmd) argument 299 msm_gpu_crashstate_capture(struct msm_gpu *gpu, struct msm_gem_submit *submit, char *comm, char *cmd) argument 360 char *comm = NULL, *cmd = NULL; local 456 char *comm = NULL, *cmd = NULL; local [all...] |
/linux-master/security/ |
H A D | lsm_audit.c | 200 char comm[sizeof(current->comm)]; local 209 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); 210 audit_log_untrustedstring(ab, memcpy(comm, current->comm, sizeof(comm))); 302 char comm[sizeof(tsk->comm)]; local 305 memcpy(comm, tsk->comm, sizeo [all...] |