From ebe1063bf5bbb276d9578df4ff3682822efa26c1 Mon Sep 17 00:00:00 2001 From: Bruce Dawson Date: Thu, 7 Sep 2023 12:59:20 -0700 Subject: [PATCH] Use appropriate profile in etw_processes_longterm.bat etw_processes_longterm.bat would print a message when it was done suggesting what .wpaprofile to use, but this message was inappropriate because it was targeted at a trace that recorded CPU usage, which this batch file does not. This change updates that message to point to a newly create profile. --- bin/TransientProcessTree.wpaProfile | 127 ++++++++++++++++++++++++++++ bin/etw_processes_longterm.bat | 2 +- 2 files changed, 128 insertions(+), 1 deletion(-) create mode 100644 bin/TransientProcessTree.wpaProfile diff --git a/bin/TransientProcessTree.wpaProfile b/bin/TransientProcessTree.wpaProfile new file mode 100644 index 00000000..3b2f8fa1 --- /dev/null +++ b/bin/TransientProcessTree.wpaProfile @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + \ No newline at end of file diff --git a/bin/etw_processes_longterm.bat b/bin/etw_processes_longterm.bat index 99929192..43f9efbb 100644 --- a/bin/etw_processes_longterm.bat +++ b/bin/etw_processes_longterm.bat @@ -58,7 +58,7 @@ @echo Tracing ran from %starttime% to %time% > "%textfile%" @echo Trace can be loaded using UIforETW or with: -@echo wpa "%tracefile%" -profile CPUUsageByProcess.wpaProfile +@echo wpa "%tracefile%" -profile TransientProcessTree.wpaProfile @exit /b :failure