Skip to content

Commit

Permalink
[FEATURE] Changed default profile filename. Show info about the profi…
Browse files Browse the repository at this point in the history
…le used
  • Loading branch information
hasherezade committed Nov 2, 2024
1 parent 0b11af8 commit 645edda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 645edda

Please sign in to comment.