[FEATURE] Changed default profile filename. Show info about the profile used

This commit is contained in:
hasherezade
2024-11-02 12:26:50 -07:00
parent 0b11af8e9a
commit 645edda295
+2 -1
View File
@@ -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;
}