| 33 | uint32_t EtwLogger::nextSessionId_ = 0; |
| 34 | |
| 35 | EtwLogger::EtwLogger(bool isElevated) |
| 36 | { |
| 37 | try { |
| 38 | workDirectory_ = file::SecureSubdirectory::CreateInSystemTemp( |
| 39 | L"PresentMonServiceEtl", isElevated, true, true); |
| 40 | } |
| 41 | catch (...) { |
| 42 | pmlog_error(ReportException("Failed establishing etw logger work directory")); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | uint32_t EtwLogger::StartLogSession(std::span<const EtwProviderDescription> providers) |
| 47 | { |
nothing calls this directly
no test coverage detected