Lines Matching refs:fd_counter
4438 int fd_counter; in perf_counter_info_read_values() local
4444 fd_counter = pp->fd_perf_per_domain[domain]; in perf_counter_info_read_values()
4446 if (fd_counter == -1) in perf_counter_info_read_values()
4449 if (read(fd_counter, &value, sizeof(value)) != sizeof(value)) in perf_counter_info_read_values()
7481 const int fd_counter = in add_rapl_perf_counter_() local
7483 if (fd_counter == -1) in add_rapl_perf_counter_()
7488 rci->fd_perf = fd_counter; in add_rapl_perf_counter_()
7492 return fd_counter; in add_rapl_perf_counter_()
7643 const int fd_counter = open_perf_counter(cpu, type, config, *pfd_group, PERF_FORMAT_GROUP); in add_cstate_perf_counter_() local
7645 if (fd_counter == -1) in add_cstate_perf_counter_()
7650 *pfd_group = fd_counter; in add_cstate_perf_counter_()
7652 return fd_counter; in add_cstate_perf_counter_()
7673 const int fd_counter = open_perf_counter(cpu, type, config, cci->fd_perf, PERF_FORMAT_GROUP); in add_msr_perf_counter_() local
7675 if (fd_counter == -1) in add_msr_perf_counter_()
7680 cci->fd_perf = fd_counter; in add_msr_perf_counter_()
7682 return fd_counter; in add_msr_perf_counter_()