Lines Matching refs:filename
90 * @filename: file that stores the results
97 static int print_results_cache(const char *filename, pid_t bm_pid, __u64 llc_value)
101 if (strcmp(filename, "stdio") == 0 || strcmp(filename, "stderr") == 0) {
104 fp = fopen(filename, "a");
119 * @filename: Filename for writing the results
123 * @filename. @bm_pid is written to the results file along with the measured
128 int perf_event_measure(int pe_fd, const char *filename, pid_t bm_pid)
144 return print_results_cache(filename, bm_pid, value);
149 * @filename: Filename for writing the results
152 * Measures LLC occupancy from resctrl and writes the results into @filename.
157 int measure_llc_resctrl(const char *filename, pid_t bm_pid)
166 return print_results_cache(filename, bm_pid, llc_occu_resc);