Skip to content

crime-trix/etw-mini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

etw-mini

etw-mini is a compact C++20 wrapper for a real-time ETW session, a tiny provider, and an event-record consumer. The consumer keeps a small ring of recent event descriptors so examples can show actual event ids, process ids, and thread ids.

ci

The example is self-contained: it starts a private trace session, registers a provider, writes a few events, consumes them in real time, and stops the session.

auto session = etwmini::session::start(L"my-session");
auto provider = etwmini::provider::open();
provider->write(100);

Build

cmake -S . -B build -DETWMINI_BUILD_EXAMPLES=ON
cmake --build build --config Release

About

Compact C++20 real-time ETW session, provider, and consumer wrapper

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors