tree: be6fc3c08604cf11a64fbf42bde01a01e4c38996 [path history] [tgz]
  1. debug
  2. libncurses.so.5.9
  3. libncursesw.so.5.9
  4. README.md
witherspoon-debug/README.md

Description

The OpenBMC debugtools tarball clashes with the filesystem layout of witherspoon systems, and contains a number of other outstanding issues with respect to the tools it deploys. The debug script here documents and executes the workarounds necessary to make it functional.

Usage

./debug [USER@]HOST TARBALL

For example:

$ ./debug root@my-witherspoon obmc-phosphor-debug-tarball-witherspoon.tar.xz

Notes

The script will:

  1. Ensure /usr/local is a tmpfs mountpoint (may not be if system is configured for Field Mode)
  2. Deploy the debugtools tarball to /usr/local
  3. Make perf(1) work by
    1. Installing a fake expand(1) if necessary
    2. Fixing the objdump(1) symlink
    3. Disabling perf(1)'s buildid tracking (fills the RW filesystem)
  4. Make latencytop(1) work by deploying and symlinking libncurses{,w}.so