Lines Matching refs:comm
73 union perf_event *event, const char *comm, int nr) in check_comm() argument
76 (pid_t)event->comm.pid == getpid() && in check_comm()
77 (pid_t)event->comm.tid == getpid() && in check_comm()
78 strcmp(event->comm.comm, comm) == 0) { in check_comm()
84 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
342 const char *comm; in test__switch_tracking() local
448 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) { in test__switch_tracking()
456 if (evsel->core.attr.mmap || evsel->core.attr.comm) { in test__switch_tracking()
489 comm = "Test COMM 1"; in test__switch_tracking()
490 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
502 comm = "Test COMM 2"; in test__switch_tracking()
503 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
515 comm = "Test COMM 3"; in test__switch_tracking()
516 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
528 comm = "Test COMM 4"; in test__switch_tracking()
529 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()