| commit | 4dfec56dd0edbbec7c25a134c99b838cab7f1440 | [log] [tgz] |
|---|---|---|
| author | copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> | Sat Nov 08 04:01:53 2025 +0000 |
| committer | Mario Limonciello <superm1@kernel.org> | Sat Nov 08 08:02:54 2025 -0600 |
| tree | 4a1da3a31afb36f9151fb64ae830a00125ae9e1a | |
| parent | ad6e2fcef2cb0c9fce8600384124d502285d2fe3 [diff] |
Fix tests to patch module-specific open instead of builtins.open This prevents mocks from interfering with coverage.py's file reading in Python 3.14 Signed-off-by: Mario Limonciello <superm1@kernel.org>
This repository hosts open tools that are useful for debugging issues on AMD systems.
amd-debug-tools has been packaged for Arch Linux (and derivatives). You can install it using:
pacman -Sy amd-debug-tools
It is suggested to install tools in a virtual environment either using pipx or python3 -m venv.
amd-debug-tools is distributed as a python wheel, which is a binary package format for Python. To install from PyPI, run the following command:
pipx install amd-debug-tools
To build the package from source, you will need to the python3-build package natively installed by your distribution package manager. Then you can generate and install a wheel by running the following commands:
python3 -m build pipx install dist/amd-debug-tools-*.whl
If you have not used a pipx environment before, you may need to run the following command to set up the environment:
pipx ensurepath
This will add the pipx environment to your path.
Documentation about running directly from a git checkout is available here.
Each tool has its own individual documentation page: