AddStackTracing enables stack tracing for the specified event type.
(typ event.Type)
| 39 | |
| 40 | // AddStackTracing enables stack tracing for the specified event type. |
| 41 | func (s *StackExtensions) AddStackTracing(typ event.Type) { |
| 42 | if !s.config.TestDropMask(typ) { |
| 43 | s.ids = append(s.ids, etw.NewClassicEventID(typ.GUID(), typ.HookID())) |
| 44 | } |
| 45 | } |
| 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) { |
no test coverage detected