From 645edda2957608949fcbc84e34c6b35a38fe4e71 Mon Sep 17 00:00:00 2001 From: hasherezade Date: Sat, 2 Nov 2024 12:26:50 -0700 Subject: [PATCH] [FEATURE] Changed default profile filename. Show info about the profile used --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 2bd33cc..61f4a48 100644 --- a/main.cpp +++ b/main.cpp @@ -47,13 +47,14 @@ t_pesieve_res deploy_scan() if (g_hh_args.etw_scan) { #ifdef USE_ETW - const char profileIni[] = "ETWProfile.ini"; + const char profileIni[] = "HH_ETWProfile.ini"; ETWProfile profile; profile.initProfile(profileIni); if (!profile.isEnabled()) { std::cerr << "Cannot start ETW: the profile (\"" << profileIni << "\") is empty\n"; return PESIEVE_ERROR; } + std::cout << "ETWProfile defined by:\"" << profileIni << "\"\n"; if (!ETWstart(profile)) { return PESIEVE_ERROR; }