mirror of
https://github.com/hasherezade/hollows_hunter.git
synced 2026-10-11 21:49:55 +00:00
[FEATURE] Changed default profile filename. Show info about the profile used
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user