https://github.com/raspberrypi/rpi-analyse-boot
https://github.com/raspberrypi/rpi-analyse-boot
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/raspberrypi/rpi-analyse-boot
- Owner: raspberrypi
- License: apache-2.0
- Created: 2024-11-21T16:27:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-30T12:14:54.000Z (8 months ago)
- Last Synced: 2025-07-30T14:53:03.493Z (8 months ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry Pi Boot Analysis
Raspberry Pi Boot Analysis Service
The Raspberry Pi Boot Analysis Service gathers boot-up performance information
that can be used to decipher the interdependencies of various boot services and
determine the critical-path to boot-up. The service runs automatically after
each boot and collates performance statistics gathered using a variety of tools
(such as
[`systemd-analyze(1)`](https://www.freedesktop.org/software/systemd/man/latest/systemd-analyze.html))
into a single report.
- To install on Raspberry Pi OS, use `sudo apt update && sudo apt install
rpi-analyse-boot`.
- Reboot the device to generate a boot analysis.
## How to use Raspberry Pi Boot Analysis
Once installed, you will find the launcher "Raspberry Pi Boot Analysis" in the
main menu under "Accessories"; selecting it will open the boot report
(`/run/rpi-analyse-boot.service/index.html') in your default browser.
Alternatively, the boot report file can be copied for viewing elsewhere.
If the [`rpi-trace-boot`](https://github.com/raspberrypi/rpi-trace-boot)
package has also been installed, the boot analysis report will contain an
embedded [Perfetto](https://perfetto.dev) boot trace.
## Building
On Raspberry Pi OS:
```
gbp buildpackage --git-debian-branch=main -uc -us
sudo dpkg -i ../rpi-analyse-boot__all.deb
```