ERROR::PASS2(7stap)
π error::pass2 β systemtap pass-2 errors π
okay bestie, welcome to the error::pass2 page from the 7stap manual section π this is your lil guide to everything that can go sideways in pass 2, aka the elaboration stage. no cap.
β¨ NAME β¨
error::pass2 β systemtap pass-2 errors, and likeβ¦ all the ways they can happen π«Ά
πΈ DESCRIPTION πΈ
so here's the tea: errors that pop up during pass 2 (elaboration) can have a whole variety of causes. not one single villain, it's giving ensemble cast π. the common types include:
- missing debuginfo β your script needs debuginfo to resolve a probe point, but it literally could not find any π₯². peep
error::dwarf(7stap)andwarning::debuginfo(7stap)for more deets. - unavailable probe point classes β some types of probe points are only available on certain system versions, architectures, and configurations π
. for example, user-space
process.*probes may requireutraceoruprobescapability in the kernel for this architecture. it's giving "not on this machine, babes." - unavailable probe points β some probe points may be individually unavailable even when their class is totally fine π. for example,
kprobe.function("foobar")may fail if functionfoobardoes not exist in the kernel any more. debugging or symbol data may be absent for some types of.functionor.statementprobes, so check for availability of debuginfo. try thestap-prepprogram to download possibly-required debuginfo π. use a wildcard parameter such asstap -l 'kprobe.function("*foo*")'to locate still-existing variants β¨. and use!or?probe point suffixes to denote optional / preferred-alternatives, so the working parts of a script can continue β iconique, honestly. - typos β bestie. there might be a spelling error in the probe point name (
"sycsall"vs."syscall"π). wildcard probes may not find a match at all in the tapsets. recheck the names usingstap -l PROBEPOINT. another common mistake is to use the.operator instead of the correct->when dereferencing context variable subfields or pointers:$foo->bar->bazeven if in C one would sayfoo->bar.baz. not me making that mistakeβ¦ never π. - unavailable context variables β systemtap scripts often wish to refer to variables from the context of the probed programs using
$variablenotation π. these variables may not always be available, depending on versions of the compiler, debugging/optimization flags used, architecture, etc. usestap -L PROBEPOINTto list available context variables for given probes. use the@defined()expression to test for the resolvability of a context variable expression. consider using thestap --skip-badvarsoption to silently replace misbehaving context variable expressions with zero π. and experiment with thestap --prologue-searchingoption β¨. - module cache inconsistencies β occasionally, the systemtap module cache (
$HOME/.systemtap/cache) might contain obsolete information from a prior system configuration/version, and produce false results as systemtap attempts to reuse it π« . retrying withstap --poison-cache ...forces new information to be generated π .
note: this should not happen and likely represents a systemtap bug. please report it π β you'd be doing the whole community a solid, fr fr.
π GATHERING MORE INFORMATION π
increasing the verbosity of pass-2 with an option such as --vp 02 can help pinpoint the problem π₯. turn that dial up, bestie.
π SEE ALSO π
stap(1)stap-prep(1)stapprobes(3stap)probe::*(3stap)error::dwarf(7stap)error::inode-uprobes(7stap)warning::debuginfo(7stap)error::reporting(7stap)
and that's the whole page, bestie π that was error::pass2 straight outta the 7stap manual β go forth, debug your probes, and slay πβ¨
π¦ where this page comes from
- arch rolling: systemtap 5.6-1 Β· GPL-2.0-or-later
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 10: systemtap-devel 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- centos-stream 10: systemtap-runtime 5.6-3.el10 Β· GPL-2.0-or-later
- centos-stream 10: systemtap-server 5.6-3.el10 Β· GPL-2.0-or-later
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-devel 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- centos-stream 9: systemtap-devel 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- centos-stream 9: systemtap-runtime 5.6-3.el9 Β· GPL-2.0-or-later
- centos-stream 9: systemtap-server 5.6-3.el9 Β· GPL-2.0-or-later
- debian bookworm: systemtap-doc 4.8-2
- debian trixie: systemtap-doc 5.1-5
- fedora 43: systemtap-client 5.3-4.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-devel 5.3-4.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 43: systemtap-devel 5.3-4.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 43: systemtap-devel 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 43: systemtap-devel 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 43: systemtap-runtime 5.3-4.fc43 Β· GPL-2.0-or-later
- fedora 43: systemtap-runtime 5.6-1.fc43 Β· GPL-2.0-or-later
- fedora 43: systemtap-server 5.3-4.fc43 Β· GPL-2.0-or-later
- fedora 43: systemtap-server 5.6-1.fc43 Β· GPL-2.0-or-later
- fedora 44: systemtap-client 5.4-3.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-devel 5.4-3.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 44: systemtap-devel 5.4-3.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 44: systemtap-devel 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 44: systemtap-devel 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
- fedora 44: systemtap-runtime 5.4-3.fc44 Β· GPL-2.0-or-later
- fedora 44: systemtap-runtime 5.6-1.fc44 Β· GPL-2.0-or-later
- fedora 44: systemtap-server 5.4-3.fc44 Β· GPL-2.0-or-later
- fedora 44: systemtap-server 5.6-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: systemtap 5.4
- nixpkgs unstable: systemtap 5.5
- opensuse-leap 16.0: systemtap 5.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: systemtap 5.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: systemtap 5.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: systemtap 5.2-160000.2.2 Β· GPL-2.0-or-later
- ubuntu jammy: systemtap-doc 4.6-2
- ubuntu noble: systemtap-doc 5.0-2ubuntu1
- ubuntu questing: systemtap-doc 5.1-5
- ubuntu resolute: systemtap-doc 5.3-2
- ubuntu stonking: systemtap-doc 5.5-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms