Lines Matching refs:comm
26 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()
130 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
134 found = find_comm(evlist, comm); in test__keep_tracking()