Lines Matching refs:cgroup_event
8558 struct perf_cgroup_event *cgroup_event = data; in perf_event_cgroup_output() local
8561 u16 header_size = cgroup_event->event_id.header.size; in perf_event_cgroup_output()
8567 perf_event_header__init_id(&cgroup_event->event_id.header, in perf_event_cgroup_output()
8570 cgroup_event->event_id.header.size); in perf_event_cgroup_output()
8574 perf_output_put(&handle, cgroup_event->event_id); in perf_event_cgroup_output()
8575 __output_copy(&handle, cgroup_event->path, cgroup_event->path_size); in perf_event_cgroup_output()
8581 cgroup_event->event_id.header.size = header_size; in perf_event_cgroup_output()
8586 struct perf_cgroup_event cgroup_event; in perf_event_cgroup() local
8594 cgroup_event = (struct perf_cgroup_event){ in perf_event_cgroup()
8599 .size = sizeof(cgroup_event.event_id), in perf_event_cgroup()
8607 cgroup_event.path = path_enomem; in perf_event_cgroup()
8611 cgroup_event.path = pathname; in perf_event_cgroup()
8619 size = strlen(cgroup_event.path) + 1; in perf_event_cgroup()
8621 cgroup_event.path[size++] = '\0'; in perf_event_cgroup()
8623 cgroup_event.event_id.header.size += size; in perf_event_cgroup()
8624 cgroup_event.path_size = size; in perf_event_cgroup()
8627 &cgroup_event, in perf_event_cgroup()