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