Searched refs:expected_read_size (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 3138 const ssize_t expected_read_size = sizeof(r); in get_perf_llc_stats() local 3141 actual_read_size = read(fd_llc_percpu[cpu], &r, expected_read_size); in get_perf_llc_stats() 3144 err(-1, "%s(cpu%d,) %d,,%ld\n", __func__, cpu, fd_llc_percpu[cpu], expected_read_size); in get_perf_llc_stats() 3148 if (actual_read_size != expected_read_size) in get_perf_llc_stats() 3149 …warn("%s: failed to read perf_data (req %zu act %zu)", __func__, expected_read_size, actual_read_s… in get_perf_llc_stats() 4665 const ssize_t expected_read_size = (num_perf_counters + 1) * sizeof(unsigned long long); in get_rapl_counters() local 4668 if (actual_read_size != expected_read_size) in get_rapl_counters() 4669 … err(-1, "%s: failed to read perf_data (%zu %zu)", __func__, expected_read_size, actual_read_size); in get_rapl_counters() 4767 ssize_t expected_read_size = num_perf_counters * sizeof(unsigned long long); in get_cstate_counters() local 4772 expected_read_size += sizeof(unsigned long long); in get_cstate_counters() [all …]
|