Lines Matching refs:comm
65 union perf_event *event, const char *comm, int nr) in check_comm() argument
68 (pid_t)event->comm.pid == getpid() && in check_comm()
69 (pid_t)event->comm.tid == getpid() && in check_comm()
70 strcmp(event->comm.comm, comm) == 0) { in check_comm()
76 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
334 const char *comm; in test__switch_tracking() local
437 if (!tracking_evsel->attr.mmap || !tracking_evsel->attr.comm) { in test__switch_tracking()
445 if (evsel->attr.mmap || evsel->attr.comm) { in test__switch_tracking()
478 comm = "Test COMM 1"; in test__switch_tracking()
479 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
491 comm = "Test COMM 2"; in test__switch_tracking()
492 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
504 comm = "Test COMM 3"; in test__switch_tracking()
505 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
517 comm = "Test COMM 4"; in test__switch_tracking()
518 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()