Lines Matching refs:comm
75 union perf_event *event, const char *comm, int nr) in check_comm() argument
78 (pid_t)event->comm.pid == getpid() && in check_comm()
79 (pid_t)event->comm.tid == getpid() && in check_comm()
80 strcmp(event->comm.comm, comm) == 0) { in check_comm()
86 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
345 const char *comm; in test__switch_tracking() local
442 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) { in test__switch_tracking()
450 if (evsel->core.attr.mmap || evsel->core.attr.comm) { in test__switch_tracking()
483 comm = "Test COMM 1"; in test__switch_tracking()
484 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
496 comm = "Test COMM 2"; in test__switch_tracking()
497 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
509 comm = "Test COMM 3"; in test__switch_tracking()
510 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
522 comm = "Test COMM 4"; in test__switch_tracking()
523 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()