Lines Matching refs:pea
8 void perf_event_attr_initialize(struct perf_event_attr *pea, __u64 config) in perf_event_attr_initialize() argument
10 memset(pea, 0, sizeof(*pea)); in perf_event_attr_initialize()
11 pea->type = PERF_TYPE_HARDWARE; in perf_event_attr_initialize()
12 pea->size = sizeof(*pea); in perf_event_attr_initialize()
13 pea->read_format = PERF_FORMAT_GROUP; in perf_event_attr_initialize()
14 pea->exclude_kernel = 1; in perf_event_attr_initialize()
15 pea->exclude_hv = 1; in perf_event_attr_initialize()
16 pea->exclude_idle = 1; in perf_event_attr_initialize()
17 pea->exclude_callchain_kernel = 1; in perf_event_attr_initialize()
18 pea->inherit = 1; in perf_event_attr_initialize()
19 pea->exclude_guest = 1; in perf_event_attr_initialize()
20 pea->disabled = 1; in perf_event_attr_initialize()
21 pea->config = config; in perf_event_attr_initialize()
46 int perf_open(struct perf_event_attr *pea, pid_t pid, int cpu_no) in perf_open() argument
50 pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC); in perf_open()