mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-09-06 09:07:18 -04:00
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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user