Bootchartd
Pantavisor supports bootchartd for boot time profiling. When enabled, Pantavisor generates a bootchartd.tgz tarball capturing the boot sequence.
Enable
Add bootchartd to PANTAVISOR_FEATURES in your distro config or recipe:
PANTAVISOR_FEATURES:append = " bootchartd"
This enables the following Busybox options:
CONFIG_TARCONFIG_FEATURE_TAR_CREATECONFIG_BOOTCHARTD
Pantavisor-specific patch
Bootchartd normally writes data to /tmp and /var/log, which are not available in the Pantavisor initramfs. The meta-pantavisor layer includes a patch redirecting all output to the root directory / instead.
Usage
Boot with rdinit=/sbin/bootchartd to generate the tarball:
# In your bootloader or kernel cmdline:
rdinit=/sbin/bootchartd
The resulting bootchartd.tgz can be analysed with standard bootchart tools.