Lines Matching defs:pid
48 static inline int perf_event_open(struct perf_event_attr* attr, pid_t pid, int cpu, int group_fd, unsigned long flags)
50 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags);
69 int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags);
70 pid == 0 and cpu == -1
73 pid == 0 and cpu >= 0
77 pid > 0 and cpu == -1
80 pid > 0 and cpu >= 0
84 pid == -1 and cpu >= 0
90 pid == -1 and cpu == -1
94 int ret = perf_event_open(&attr, pf->pid, -1, pf->perfFD, 0);
225 "pid:%d, taskname:%s, taskid:%d, recordid:%d, evt_num:%d, pmu_%x:%lu, pmu_%x:%lu, pmu_%x:%lu, pmu_%x:%lu, "
227 stat->pid, iter->first.c_str(), 0, 1, stat->nCounters, pmu_event[0], iter->second.vals[0], pmu_event[1],