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