mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-10-27 05:29:58 -04:00
Fix activity ID not being passed in ETW
This commit is contained in:
1 parent
c599b533b4
commit
9ea416ec01
1 file changed
+1
-1
+1
-1
@@ -247,7 +247,7 @@ func (provider *Provider) WriteEvent(name string, eventOpts []EventOpt, fieldOpt
|
|||||||
dataBlobs = [][]byte{ed.bytes()}
|
dataBlobs = [][]byte{ed.bytes()}
|
||||||
}
|
}
|
||||||
|
|
||||||
return provider.writeEventRaw(options.descriptor, nil, nil, [][]byte{em.bytes()}, dataBlobs)
|
return provider.writeEventRaw(options.descriptor, options.activityID, options.relatedActivityID, [][]byte{em.bytes()}, dataBlobs)
|
||||||
}
|
}
|
||||||
|
|
||||||
// writeEventRaw writes a single ETW event from the provider. This function is
|
// writeEventRaw writes a single ETW event from the provider. This function is
|
||||||
|
|||||||
Reference in new issue
Block a user