static bool interval_count;
static const char *output_name;
static int output_fd;
-static int print_free_counters_hint;
static int print_mixed_hw_group_error;
static u64 *walltime_run;
static bool ru_display = false;
config->csv_sep);
if (counter->supported) {
- print_free_counters_hint = 1;
+ config->print_free_counters_hint = 1;
if (is_mixed_hw_group(counter))
print_mixed_hw_group_error = 1;
}
}
fprintf(output, "\n\n");
- if (print_free_counters_hint &&
+ if (config->print_free_counters_hint &&
sysctl__read_int("kernel/nmi_watchdog", &n) >= 0 &&
n > 0)
fprintf(output,