Make ETW no-op on ARM

Proper support for ETW on ARM will require additional changes in Go to support
more than 16 bytes of arguments to a syscall callback. Until this work is done,
the ETW package is being changed to no-op on ARM.
This commit is contained in:
Kevin Parsons
2019-04-20 19:23:37 -07:00
parent dac77d8a7c
commit a4918f0a0f
3 changed files with 81 additions and 43 deletions
+12
View File
@@ -0,0 +1,12 @@
// +build arm 386
package etw
import (
"github.com/Microsoft/go-winio/pkg/guid"
)
// NewProviderWithID returns a nil provider on unsupported platforms.
func NewProviderWithID(name string, id *guid.GUID, callback EnableCallback) (provider *Provider, err error) {
return nil, nil
}