Lines Matching refs:comm
74 union perf_event *event, const char *comm, int nr) in check_comm() argument
77 (pid_t)event->comm.pid == getpid() && in check_comm()
78 (pid_t)event->comm.tid == getpid() && in check_comm()
79 strcmp(event->comm.comm, comm) == 0) { in check_comm()
85 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
344 const char *comm; in test__switch_tracking() local
451 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) { in test__switch_tracking()
459 if (evsel->core.attr.mmap || evsel->core.attr.comm) { in test__switch_tracking()
492 comm = "Test COMM 1"; in test__switch_tracking()
493 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
505 comm = "Test COMM 2"; in test__switch_tracking()
506 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
518 comm = "Test COMM 3"; in test__switch_tracking()
519 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()
531 comm = "Test COMM 4"; in test__switch_tracking()
532 err = prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0); in test__switch_tracking()