ACPI: Dumping ACPI Objects with SystemTap

This document is intended to explain to dump out ACPI Objects in the ACPI driver at run time using SystemTap. This can be useful to sanity check the ACPI objects in the kernel that are accessible by the ACPI driver.


1. Clone the systemtap-scripts git repository:

git clone git://

2. Install SystemTap and the appropriate kernel .ddebs

sudo apt-get install systemtap

2.1) Create an /etc/apt/sources.list.d/ddebs.list by running the following line at a terminal:

echo "deb $(lsb_release -cs) main restricted universe multiverse" |\
 sudo tee -a /etc/apt/sources.list.d/ddebs.list

2.2) Import the debug symbol archive signing key:

sudo apt-key adv --keyserver --recv-keys 428D7C01

2.3) Then run:

sudo apt-get update

2.4) Download and install the debug kernel, e.g.

sudo apt-get install linux-image-`uname -r`-dbgsym

3. Run the script

sudo ./systemtap-scripts/acpi-dump/acpi-dump.stp

..this will take a few moments to build and then run. You will then get a dump of the handle and name of the ACPI objects inside the kernel ACPI driver. For example:

$ sudo ./systemtap-scripts/acpi-dump/acpi-dump.stp

  ffff8800ba22e050 \_SB_
  ffff8800ba2339d8 \_SB_.AMW0
  ffff8800ba233b68 \_SB_.LID0
  ffff8800ba233be0 \_SB_.PWRB
  ffff8800ba233c30 \_SB_.PCI0
  ffff8800ba233cf8 \_SB_.PCI0.MCHC
  ffff8800ba231230 \_SB_.PCI0.PDRC
  ffff8800ba2312f8 \_SB_.PCI0.PEGP
  ffff8800ba231370 \_SB_.PCI0.PEGP.VGA_
  ffff8800ba2315f0 \_SB_.PCI0.PEGP.VGA_.CRT_
  ffff8800ba2316b8 \_SB_.PCI0.PEGP.VGA_.LCD_
  ffff8800ba2317f8 \_SB_.PCI0.PEGP.VGA_.TV__

  ffff8800ba2338c0 \_PR_.CPU0
  ffff8800ba2338e8 \_PR_.CPU1


Kernel/Reference/ACPIObjectNameDump (last edited 2011-09-27 12:22:37 by colin-king)