Primary Tool Page

ktrace

ktrace has a single primary page plus one page per language workspace. The sections below are built from the canonical markdown already checked into the relevant repos.

1 markdown sections
QM-Code/ktools primary repo
HTML static output

ktrace

ktools/docs/ktrace.md

ktrace is the tracing and logging layer in the ktools stack.

It focuses on explicit, structured diagnostic output rather than ad hoc print statements.

Shared Design

Across languages, ktrace generally provides:

  • named channels or selectors
  • runtime trace enablement
  • operator-facing log output
  • integration with kcli for CLI-controlled tracing

Role In The Stack

ktrace sits above kcli and below the higher-level libraries:

  • it uses kcli when a runtime exposes trace controls on the command line
  • it supplies diagnostics that kconfig and ki18n can reuse
  • it keeps diagnostic behavior aligned even when API syntax differs by language

Language Pages

The language-specific pages pull in each implementation's own markdown, with API, behavior, and example material when it exists in that workspace.