func (provider Provider) Enable() (err error) { errCode := C.usdt_provider_enable(provider.provider_t) if errCode != 0 { err = errors.New(provider.Error()) } return }
// Missing error handling func (provider Provider) Enable() { C.usdt_provider_enable(provider.provider_t) }