Lines Matching refs:tb_ops
102 const tprof_backend_ops_t *tb_ops; member
296 info->ti_ident = tb->tb_ops->tbo_ident(); in tprof_getinfo()
308 *ncounters = tb->tb_ops->tbo_ncounters(); in tprof_getncounters()
318 tb->tb_ops->tbo_start(runmask); in tprof_start_cpu()
327 tb->tb_ops->tbo_stop(stopmask); in tprof_stop_cpu()
361 if (tb->tb_ops->tbo_establish != NULL) { in tprof_start()
362 error = tb->tb_ops->tbo_establish(&tb->tb_softc); in tprof_start()
372 if (tb->tb_ops->tbo_disestablish != NULL) in tprof_start()
373 tb->tb_ops->tbo_disestablish(&tb->tb_softc); in tprof_start()
448 if (tb->tb_ops->tbo_disestablish != NULL) in tprof_stop()
449 tb->tb_ops->tbo_disestablish(&tb->tb_softc); in tprof_stop()
473 tb->tb_ops->tbo_configure_event(counter, param); in tprof_configure_event_cpu()
503 if (tb->tb_ops->tbo_valid_event != NULL) { in tprof_configure_event()
504 error = tb->tb_ops->tbo_valid_event(param->p_counter, param); in tprof_configure_event()
514 tb->tb_ops->tbo_counter_bitwidth(param->p_counter); in tprof_configure_event()
522 freq = tb->tb_ops->tbo_counter_estimate_freq(c); in tprof_configure_event()
615 uint64_t ctr = tb->tb_ops->tbo_counter_read(c); in tprof_getcounts_cpu()
758 tb->tb_ops = ops; in tprof_backend_register()
768 tb->tb_softc.sc_ncounters = tb->tb_ops->tbo_ncounters(); in tprof_backend_register()