Lines Matching refs:comm
75 union perf_event *event, const char *comm, int nr)
78 (pid_t)event->comm.pid == getpid() &&
79 (pid_t)event->comm.tid == getpid() &&
80 strcmp(event->comm.comm, comm) == 0) {
82 pr_debug("Duplicate comm event\n");
86 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr);
201 pr_debug("Unexpected comm event\n");
345 const char *comm;
442 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) {
450 if (evsel->core.attr.mmap || evsel->core.attr.comm) {
483 comm = "Test COMM 1";
484 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
496 comm = "Test COMM 2";
497 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
509 comm = "Test COMM 3";
510 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
522 comm = "Test COMM 4";
523 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
547 /* Check all 4 comm events were seen i.e. that evsel->tracking works */
550 pr_debug("Missing comm events\n");