poka.sh

Docs

STRACE

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

strace Output Preview.

At a glance

Purpose strace output: one system call per line with arguments, return value and error, optionally with PID and time.
Extensions .strace
Poka parser poka-strace
Viewer poka-table-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B2 Broad (see Breadth tiers)

How much Poka reads

B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-strace/src/main.rs (277 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .strace sample. Covers .strace. The table lists every call with PID, time, system call, arguments (cut), return value and errno. Judgement: B2: every entry is shown; the gaps are limits, redaction by design and fields left raw.

What Poka does not read

  • Arguments are cut at 80 characters
  • Unfinished and resumed calls (with -f) are not joined
  • Signals and exit lines are not shown (judgement from the code)
  • Only the first 2,000 calls are listed

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

  • sctrace (candidate; MPL-2.0; Rust; https://docs.rs/sctrace) — Asterinas crate with APIs for parsing strace output (StraceLogStream) and matching against SCML patterns.
  • b3 (b3-strace-parser) (candidate; MIT; JavaScript; https://github.com/dannykopping/b3) — peg.js-based strace to JSON converter; cannot handle unfinished syscalls; language inferred from repo files.
  • strace-process-tree (reference; GPL-2.0; Python; https://github.com/mgedmin/strace-process-tree) — copyleft; Reads strace -f logs and builds a process tree; narrow use, language inferred from file names.

Sources

  • parsers/poka-strace/src/main.rs
  • parsers/poka-strace/plugin.json