Lines Matching refs:ebb_state
29 struct ebb_state ebb_state; variable
75 count = ebb_state.stats.pmc_count[PMC_INDEX(pmc)]; in ebb_check_count()
77 lower = ebb_state.stats.ebb_count * (sample_period - fudge); in ebb_check_count()
85 upper = ebb_state.stats.ebb_count * (sample_period + fudge); in ebb_check_count()
106 ebb_state.stats.spurious++; in standard_ebb_callee()
110 ebb_state.stats.ebb_count++; in standard_ebb_callee()
111 trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count); in standard_ebb_callee()
114 trace_log_reg(ebb_state.trace, SPRN_MMCR0, val); in standard_ebb_callee()
118 if (ebb_state.pmc_enable[PMC_INDEX(i)]) in standard_ebb_callee()
123 ebb_state.stats.no_overflow++; in standard_ebb_callee()
161 memset(&ebb_state.stats, 0, sizeof(ebb_state.stats)); in clear_ebb_stats()
177 ebb_state.stats.ebb_count, ebb_state.stats.spurious, in dump_summary_ebb_state()
178 ebb_state.stats.negative, ebb_state.stats.no_overflow, in dump_summary_ebb_state()
179 ebb_state.stats.pmc_count[0], ebb_state.stats.pmc_count[1], in dump_summary_ebb_state()
180 ebb_state.stats.pmc_count[2], ebb_state.stats.pmc_count[3], in dump_summary_ebb_state()
181 ebb_state.stats.pmc_count[4], ebb_state.stats.pmc_count[5]); in dump_summary_ebb_state()
249 trace_buffer_print(ebb_state.trace); in dump_ebb_state()
262 ebb_state.stats.negative++; in count_pmc()
264 ebb_state.stats.pmc_count[PMC_INDEX(pmc)] += val - start_value; in count_pmc()
266 trace_log_reg(ebb_state.trace, SPRN_PMC1 + pmc - 1, val); in count_pmc()
387 while (ebb_state.stats.ebb_count < 20) { in ebb_child()
403 FAIL_IF(ebb_state.stats.ebb_count == 0); in ebb_child()
484 ebb_state.trace = trace_buffer_allocate(1 * 1024 * 1024); in ebb_init()