AddStackTracingWith enables stack tracing for the specified provider GUID and event hook id.
(guid windows.GUID, hookID uint16)
| 46 | |
| 47 | // AddStackTracingWith enables stack tracing for the specified provider GUID and event hook id. |
| 48 | func (s *StackExtensions) AddStackTracingWith(guid windows.GUID, hookID uint16) { |
| 49 | if !s.config.TestDropMask(event.TypeFromParts(guid, hookID)) { |
| 50 | s.ids = append(s.ids, etw.NewClassicEventID(guid, hookID)) |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | // EventIds returns all event types eligible for stack tracing. |
| 55 | func (s *StackExtensions) EventIds() []etw.ClassicEventID { return s.ids } |
no test coverage detected