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()
351 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()