Welcome to ISystemtap, to get started check the usage below and tryout the ISystemtap.ipynb
Once ISystemtap is installed just run jupyter-lab [notebook_name.ipynb] and then select a new or existing ISystemtap notebook. For installation see below
No local installation of ISystemtap is needed. Once systemtap is installed the following can be run. It is suggested to pull the pre-built image from quay.io, but it can optionally be locally built as well
stap-jupyter-container [--repo REPOSITORY] [--image IMAGE] [--tag TAG] [--keyname KEYNAME] --{run, pull, build, publish, remove}
quay.io)quay.io/systemtap/isystemtap)To get started just run stap-jupyter-container --run
Running the container as a superuser means that stap scripts will be run as root. Therefore there are 2 prerequisites
PermitRootLogin without-password to /etc/ssh/sshd_config. Note this does not mean there is no authentication it means that logging in is only possible using a fallback method (in this case a public key authentication).Run stap-jupyter-install. This will install the ISystemtap kernel, syntax highlighting and language-server dependencies in ~/.systemtap/jupyter (and the jupyter config directories). To uninstall add the --remove flag.
interactive-notebook ├── codemirror // Jupyterlab extension for syntax highlighting │ ├── jupyterlab-stap-highlighting │ │ └── ... │ ├── lib │ │ └── ... │ └── package.json │ ├── container // Container which wraps up the pythonic install elements │ ├── Dockerfile │ └── runtime_container_config.sh │ ├── setup.py // setup for module. Included in stap-jupyter-install ├── isystemtap // the jupyter kernel source and config file │ ├── *.py │ └── kernel.json │ ├── tests // Some automated and manual tests (Note: to test the dir must be writable) │ └── ... │ ├── ISystemtap.ipynb // An introductory notebook example │ ├── stap-jupyter-install.in // Used to generate the local install script │ ├── stap-jupyter-container.in // Used to generated container management script │ ├── jupyter_stap_lsp.json // The language server config file │ └── requirements.txt // Python reqs
sudo staprun -d MODULE_NAME (this can be checked in /proc/systemtap)make; make install followed by one of the above stap-jupyter-* commandslibpod-*.scope: got failed meanpodman, try running as a superuserstap-jupyter-container --build && stap-jupyter-container --publishquay.io login. This will be followed by the image being published to quay.io/systemtap/isystemtap