Event Tracing of ACPI.SYS in Windows 7

Discussion in 'Windows Vista Drivers' started by Gernot Buselmeier, Oct 13, 2011.

  1. 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
     
    Gernot Buselmeier, Oct 13, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dimov000

    acpi or acpi.sys

    dimov000, Aug 18, 2007, in forum: Windows Vista General Discussion
    Replies:
    1
    Views:
    392
    John Barnes
    Aug 19, 2007
  2. Warren Ryd

    event tracing in ndis

    Warren Ryd, Jan 26, 2004, in forum: Windows Vista Drivers
    Replies:
    1
    Views:
    344
    Eliyas Yakub [MSFT]
    Jan 27, 2004
  3. michelle

    Verbose tracing for usbstor.sys

    michelle, Dec 22, 2004, in forum: Windows Vista Drivers
    Replies:
    1
    Views:
    509
    Eliyas Yakub [MSFT]
    Dec 27, 2004
  4. Matteo Bologna

    Event Tracing with High Resolution Timers

    Matteo Bologna, Oct 4, 2005, in forum: Windows Vista Drivers
    Replies:
    5
    Views:
    310
    Matteo Bologna
    Oct 19, 2005
  5. Brian

    ACPI MP to Standard ACPI Hal

    Brian, Mar 29, 2005, in forum: Windows Media Center
    Replies:
    2
    Views:
    329
    Brian
    Mar 30, 2005
Loading...

Share This Page