etw

package module
v0.0.0-...-7224a45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 1 Imported by: 0

README

ETW

This modules provides simple event consumer for Event Tracing for Windows service. See examples for more info.

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session interface {
	Process(cb func([]byte)) error // Callback is JSON parser.
	Close() error
}

Session interface defines are module.

func NewSession

func NewSession(opts *SessionOptions) (Session, error)

NewSession create new event tracing session.

type SessionOptions

type SessionOptions struct {
	ProviderName string
	KernelArgs   []string
	TraceLevel   string
}

SessionOptions defines session options.

Directories

Path Synopsis
examples
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL