Lines Matching defs:comm
72 union perf_event *event, const char *comm, int nr)
75 (pid_t)event->comm.pid == getpid() &&
76 (pid_t)event->comm.tid == getpid() &&
77 strcmp(event->comm.comm, comm) == 0) {
79 pr_debug("Duplicate comm event\n");
83 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr);
198 pr_debug("Unexpected comm event\n");
341 const char *comm;
444 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) {
452 if (evsel->core.attr.mmap || evsel->core.attr.comm) {
485 comm = "Test COMM 1";
486 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
498 comm = "Test COMM 2";
499 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
511 comm = "Test COMM 3";
512 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
524 comm = "Test COMM 4";
525 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0);
549 /* Check all 4 comm events were seen i.e. that evsel->tracking works */
552 pr_debug("Missing comm events\n");