Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Event Tracing of ACPI.SYS in Windows 7

Reply
Thread Tools Display Modes

Event Tracing of ACPI.SYS in Windows 7

 
 
Gernot Buselmeier
Guest
Posts: n/a

 
      10-13-2011
Hello all,

I am a bit stuck in trying to apply ETW on ACPI in Windows 7.

I am new to the ETW topic and it is a bit confusing which tools to
use, where to find appropriate files, which direction to go, etc.

I want to explore what's going on regarding acpi.sys on Windows 7 but
I obviously miss the acpi .MOF or .TMF files (don't know which).

I achieved to get a fairly readable event trace files (dumpfile.csv
and summary.txt) on Windows XP using the tracelog.exe and tracerpt.exe
utilities.

The summary file presents the GUIDs for Event and Event Header...

+-------------------------------------------------------------------------------------
+
|Event Count Event Name Event Type
Guid |
+-------------------------------------------------------------------------------------
+
| 1 EventTrace Header
{68fdd900-4a3e-11d1-84f4-0000f80464e3}|
| 17 AMLIEvent Start {f2e0e060-bf32-4b88-
b8e4-5cad15af6ae9}|
| 17 AMLIEvent End {f2e0e060-bf32-4b88-
b8e4-5cad15af6ae9}|
+-------------------------------------------------------------------------------------
+

....and the dumpfile shows a reasonable content (Start and End of
AMLIEvents occurred durint the trace session along with ACPI objects
addressed, etc.).

Example:
AMLIEvent, Start, 0x0000, 129628869904062500,
5548035, 0, "Object = \_GPE._L08", 0, 0


When I move to Windows 7 and use the same tools (same means: tracelog
is identical since it comes from the WDK, tracerpt is different
because it is included in the Windows distribution) I get the
following which is much the same as with XP:

+-------------------------------------------------------------------------------------------------------------------------
+
|Event Count Event Name Task Opcode
Version Guid |
+-------------------------------------------------------------------------------------------------------------------------
+
| 1 EventTrace 0 Header
2 {68fdd900-4a3e-11d1-84f4-0000f80464e3}|
| 18 AMLIEvent 0 End
0 {f2e0e060-bf32-4b88-b8e4-5cad15af6ae9}|
| 18 AMLIEvent 0 Start
0 {f2e0e060-bf32-4b88-b8e4-5cad15af6ae9}|
+-------------------------------------------------------------------------------------------------------------------------
+

However, I am obviously missing trace format information for the
AMLIEvents since the AMLIEvents are not decoded:

<Start of a line in dumpfile>
AMLIEvent, Start, 0, 0,
0, 1, 1, 0, 0x0000000000000000, 0x00000000,
0x00000000,
1, , ,
{00000000-0000-0000-0000-000000000000}, ,
129628945003125000, 308325, 0, DataSize=20
</End of a line in dumpfile>

I think that I must provide something like a acpi.tmf file or an
adequate MOF.
Trying to get out more insight using the traceview.exe GUI utility
didn't help either.

Any help appreciated.

Thanks,
Gernot
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge file in Windows tracing matteo.diplomacy@gmail.com Windows Vista General Discussion 1 12-23-2012 01:34 PM
WPP Event Tracing rajinder@devmentor.org Windows Vista Drivers 2 01-08-2008 10:13 PM
Event tracing in display miniport - newbie question Ahmad Rizvi Windows Vista Drivers 4 08-27-2007 10:44 PM
Event Tracing with High Resolution Timers Matteo Bologna Windows Vista Drivers 5 10-19-2005 06:06 PM
event tracing in ndis Warren Ryd Windows Vista Drivers 1 01-27-2004 06:52 PM