Lines Matching refs:comm
63 union perf_event *event, const char *comm, int nr) in check_comm() argument
66 (pid_t)event->comm.pid == getpid() && in check_comm()
67 (pid_t)event->comm.tid == getpid() && in check_comm()
68 strcmp(event->comm.comm, comm) == 0) { in check_comm()
74 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
326 const char *comm; in test__switch_tracking() local
429 if (!tracking_evsel->attr.mmap || !tracking_evsel->attr.comm) { in test__switch_tracking()
437 if (evsel->attr.mmap || evsel->attr.comm) { in test__switch_tracking()
470 comm = "Test COMM 1"; in test__switch_tracking()
471 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
483 comm = "Test COMM 2"; in test__switch_tracking()
484 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
496 comm = "Test COMM 3"; in test__switch_tracking()
497 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
509 comm = "Test COMM 4"; in test__switch_tracking()
510 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()