obs/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: Apache-2.0

Directories

Path Synopsis
Package advisefeedback implements canonical, model-agnostic, scorer-attributed profiling advise findings, pre-edit pending outcome tracking, explicit feedback with verifiable evidence gates, Wilson score lower confidence bound ranking with a Bayesian exploration prior, human review queues, and cross-model transfer matrices.
Package advisefeedback implements canonical, model-agnostic, scorer-attributed profiling advise findings, pre-edit pending outcome tracking, explicit feedback with verifiable evidence gates, Wilson score lower confidence bound ranking with a Bayesian exploration prior, human review queues, and cross-model transfer matrices.
Package bpf provides host eBPF policy budgets, device-side BPF launch records, and host-GPU trace collection.
Package bpf provides host eBPF policy budgets, device-side BPF launch records, and host-GPU trace collection.
Package cudacallgraph links host launches, GPU source, and recorded artifacts.
Package cudacallgraph links host launches, GPU source, and recorded artifacts.
launchgo
Package launchgo resolves typed Go CUDA launch sites to their available kernel identities.
Package launchgo resolves typed Go CUDA launch sites to their available kernel identities.
Package cudapmpred provides SASS pm_pred per-instruction event counting and PTX %pm0..%pm7 baseline counter auditing for NVIDIA sm_121a (GB10).
Package cudapmpred provides SASS pm_pred per-instruction event counting and PTX %pm0..%pm7 baseline counter auditing for NVIDIA sm_121a (GB10).
Package cudapmreg reads the SM performance-monitor special registers SR_PM0..SR_PM7 (and their high halves) on sm_121a, with and without a profiling session, and retargets the reads to the SR_SNAP_PM snapshot bank.
Package cudapmreg reads the SM performance-monitor special registers SR_PM0..SR_PM7 (and their high halves) on sm_121a, with and without a profiling session, and retargets the reads to the SR_SNAP_PM snapshot bank.
Package cudaprof captures, correlates, analyzes, and exports CUDA profiles, traces, OTLP spans, and profile history.
Package cudaprof captures, correlates, analyzes, and exports CUDA profiles, traces, OTLP spans, and profile history.
advise
Package advise evaluates CUDA profiles, hardware counters, and timelines against diagnostic performance rules.
Package advise evaluates CUDA profiles, hardware counters, and timelines against diagnostic performance rules.
advise/advisecheck
Package advisecheck validates advise rule citations, emission sites, and corpus scorecards.
Package advisecheck validates advise rule citations, emission sites, and corpus scorecards.
internal/obsjournaltest
Package journaltest writes synthetic capture journals and captures for tests, so journal readers are exercised without hardware or a real capture.
Package journaltest writes synthetic capture journals and captures for tests, so journal readers are exercised without hardware or a real capture.
iteration
Package iteration segments CUDA timeline streams into deterministic training and serving step iterations.
Package iteration segments CUDA timeline streams into deterministic training and serving step iterations.
limiter
Package limiter says why a kernel launch is slow and what to change.
Package limiter says why a kernel launch is slow and what to change.
overview
Package overview summarizes and compares GPU kernel pprof profiles against regex op-classification rules and renders self-contained, zero-CDN HTML overview reports with inline SVG breakdowns, per-op delta bars, staging memcpy callouts, top kernel tables, and SHA-256 provenance footers.
Package overview summarizes and compares GPU kernel pprof profiles against regex op-classification rules and renders self-contained, zero-CDN HTML overview reports with inline SVG breakdowns, per-op delta bars, staging memcpy callouts, top kernel tables, and SHA-256 provenance footers.
stallmap
Package stallmap attributes a kernel's PC sampling stalls to its SASS instructions and source lines.
Package stallmap attributes a kernel's PC sampling stalls to its SASS instructions and source lines.
timeline
Package timeline reconstructs ordered host and device execution timelines from CUDA capture journals.
Package timeline reconstructs ordered host and device execution timelines from CUDA capture journals.
tracecontract
Package tracecontract defines portable trace binding and artifact contracts shared across CUDA profiling and telemetry pipelines.
Package tracecontract defines portable trace binding and artifact contracts shared across CUDA profiling and telemetry pipelines.
Package cudas2r provides a telemetry oracle for NVIDIA SASS special registers (SR 0..255) accessible via S2R, CS2R, and S2UR instructions on sm_121a (GB10).
Package cudas2r provides a telemetry oracle for NVIDIA SASS special registers (SR 0..255) accessible via S2R, CS2R, and S2UR instructions on sm_121a (GB10).
Package cudatimer measures what the SM timer registers mean: the tick of %globaltimer, whether a split LO/HI read can tear, the SM clock rate against %globaltimer, and whether %globaltimer agrees across SMs.
Package cudatimer measures what the SM timer registers mean: the tick of %globaltimer, whether a split LO/HI read can tear, the SM clock rate against %globaltimer, and whether %globaltimer agrees across SMs.
Package cuptix provides CUPTI activity, callback, checkpoint, PC sampling, PM sampling, range profiling, SASS counter, and benchmark collection on NVIDIA GPUs.
Package cuptix provides CUPTI activity, callback, checkpoint, PC sampling, PM sampling, range profiling, SASS counter, and benchmark collection on NVIDIA GPUs.
benchfmt
Package benchfmt reads and formats GPU benchmark records in Go benchmark and JSON interchange layouts.
Package benchfmt reads and formats GPU benchmark records in Go benchmark and JSON interchange layouts.
dutycycle
Package dutycycle computes active and idle GPU duty-cycle intervals from PM sampling streams.
Package dutycycle computes active and idle GPU duty-cycle intervals from PM sampling streams.
Package diag provides GPU roofline models, kernel census, evidence records, microbenchmark probes, reproducer reduction, sanitizer runners, quarantined candidate launches, and workload diagnostics.
Package diag provides GPU roofline models, kernel census, evidence records, microbenchmark probes, reproducer reduction, sanitizer runners, quarantined candidate launches, and workload diagnostics.
bwprobe
Package bwprobe measures device memory and cache bandwidth ceilings, block shapes, stream/owned mixes, and read/write mixes using calibrated GPU microbenchmarks.
Package bwprobe measures device memory and cache bandwidth ceilings, block shapes, stream/owned mixes, and read/write mixes using calibrated GPU microbenchmarks.
dieprobe
Package dieprobe measures GPU locality-domain topology, access latency, bandwidth, allocation cost, and compute binding.
Package dieprobe measures GPU locality-domain topology, access latency, bandwidth, allocation cost, and compute binding.
errbound
Package errbound checks kernel outputs against error bounds derived from a reference computation graph at a declared precision.
Package errbound checks kernel outputs against error bounds derived from a reference computation graph at a declared precision.
errbound/errboundcuda
Package errboundcuda runs CUDA kernels as errbound.Kernel values, on a GPU through NVRTC or on the host CPU through cudahostemu, so that errbound.Check can certify them.
Package errboundcuda runs CUDA kernels as errbound.Kernel values, on a GPU through NVRTC or on the host CPU through cudahostemu, so that errbound.Check can certify them.
errbound/plant
Package plant holds a corpus of CUDA kernels that cheat kernel correctness checks, with honest controls, for testing checkers such as github.com/tmc/lib/nvidia/x/obs/diag/errbound.
Package plant holds a corpus of CUDA kernels that cheat kernel correctness checks, with honest controls, for testing checkers such as github.com/tmc/lib/nvidia/x/obs/diag/errbound.
gemmrate
Package gemmrate measures the dense tensor-core GEMM rate a device achieves on one shape.
Package gemmrate measures the dense tensor-core GEMM rate a device achieves on one shape.
hotcold
Package hotcold measures what one SASS instruction costs by timing a kernel against a copy of itself with that instruction replaced by a NOP.
Package hotcold measures what one SASS instruction costs by timing a kernel against a copy of itself with that instruction replaced by a NOP.
icacheprobe
Package icacheprobe measures GPU instruction-cache capacity and miss boundaries across loop footprints.
Package icacheprobe measures GPU instruction-cache capacity and miss boundaries across loop footprints.
kernelcheck
Package kernelcheck checks compiled NVIDIA CUBIN artifacts against their static ELF/SASS launch contracts, IEEE-754 float32 numerical parity, and CUDA-event interleaved paired timing, producing and verifying kernelreceipt/v0 receipts.
Package kernelcheck checks compiled NVIDIA CUBIN artifacts against their static ELF/SASS launch contracts, IEEE-754 float32 numerical parity, and CUDA-event interleaved paired timing, producing and verifying kernelreceipt/v0 receipts.
kernelcheck/launchplan
Package launchplan captures a GPU program's launches as a declarative plan and replays the plan without the program.
Package launchplan captures a GPU program's launches as a declarative plan and replays the plan without the program.
kernelcheck/launchplan/internal/lptool command
Lptool builds, compares, replays and mutates launch-plan bundles.
Lptool builds, compares, replays and mutates launch-plan bundles.
launchprobe
Package launchprobe measures CUDA kernel launch latency and queue overhead.
Package launchprobe measures CUDA kernel launch latency and queue overhead.
mioprobe
Package mioprobe measures whether reading a special register costs more when many warps on one SM read special registers at once.
Package mioprobe measures whether reading a special register costs more when many warps on one SM read special registers at once.
obsevidence
Package obsevidence holds portable measurement evidence records and claim verdicts re-exported by x/obs/diag and x/obs/diag/obsmodel.
Package obsevidence holds portable measurement evidence records and claim verdicts re-exported by x/obs/diag and x/obs/diag/obsmodel.
obsmodel
Package obsmodel provides hardware-neutral GPU roofline ceiling models and kernel execution census analysis.
Package obsmodel provides hardware-neutral GPU roofline ceiling models and kernel execution census analysis.
peerprobe
Package peerprobe times the hop latency between two GPUs through peer-mapped memory.
Package peerprobe times the hop latency between two GPUs through peer-mapped memory.
prefetchprobe
Package prefetchprobe measures L2 and global memory prefetch latency and SM rank behavior.
Package prefetchprobe measures L2 and global memory prefetch latency and SM rank behavior.
sfuprobe
Package sfuprobe measures the throughput of the special function unit (MUFU) against FFMA on one GPU, in operations per SM per clock.
Package sfuprobe measures the throughput of the special function unit (MUFU) against FFMA on one GPU, in operations per SM per clock.
smtopology
Package smtopology probes streaming multiprocessor cluster and cache topology on NVIDIA GPUs.
Package smtopology probes streaming multiprocessor cluster and cache topology on NVIDIA GPUs.
streamread
Package streamread measures sustained device global-memory read bandwidth across configurable streaming access patterns.
Package streamread measures sustained device global-memory read bandwidth across configurable streaming access patterns.
syncprobe
Package syncprobe measures device, stream, and event synchronization latency.
Package syncprobe measures device, stream, and event synchronization latency.
Package iket provides intra-kernel execution tracing (IKET), device ring buffers, CUDA phase markers, and GPU flight-recorder bundles.
Package iket provides intra-kernel execution tracing (IKET), device ring buffers, CUDA phase markers, and GPU flight-recorder bundles.
ikettrace
Package obsiket implements the core in-kernel event trace and phase analysis layer.
Package obsiket implements the core in-kernel event trace and phase analysis layer.
ring
Package ring decodes device-side in-kernel %globaltimer event ring buffers.
Package ring decodes device-side in-kernel %globaltimer event ring buffers.
internal
obsbpfpolicy
Package obsbpfpolicy holds pure-Go eBPF policy and budget definitions re-exported by x/obs/bpf.
Package obsbpfpolicy holds pure-Go eBPF policy and budget definitions re-exported by x/obs/bpf.
obsevidencebind
Package obsevidencebind binds kernel artifacts and cache keys to evidence identities for x/obs/cudaprof and x/obs/telemetry.
Package obsevidencebind binds kernel artifacts and cache keys to evidence identities for x/obs/cudaprof and x/obs/telemetry.
obsotlp
Package obsotlp holds OTLP span schema and trace encoders re-exported by x/obs/cudaprof.
Package obsotlp holds OTLP span schema and trace encoders re-exported by x/obs/cudaprof.
obsprobe
Package obsprobe holds binary probe event decoders re-exported by x/obs/diag.
Package obsprobe holds binary probe event decoders re-exported by x/obs/diag.
obsprofcore
Package obsprofcore holds core pprof, capture bundle, stack journal, and Do correlation primitives re-exported by x/obs/cudaprof.
Package obsprofcore holds core pprof, capture bundle, stack journal, and Do correlation primitives re-exported by x/obs/cudaprof.
obsworkload
Package obsworkload holds host-device workload correlation and activity join primitives re-exported by x/obs/diag.
Package obsworkload holds host-device workload correlation and activity join primitives re-exported by x/obs/diag.
Package racedet reports shared memory data races in CUDA kernels in one form, whichever engine found them.
Package racedet reports shared memory data races in CUDA kernels in one form, whichever engine found them.
Package sanpatch provides an in-process CUDA Compute Sanitizer device-patching oracle built on the Compute Sanitizer public API.
Package sanpatch provides an in-process CUDA Compute Sanitizer device-patching oracle built on the Compute Sanitizer public API.
Package straggler detects slow and intermittent GPU stragglers across single and multi-node clusters without PyTorch or cgo.
Package straggler detects slow and intermittent GPU stragglers across single and multi-node clusters without PyTorch or cgo.
Package telemetry provides GPU fleet telemetry, NVML/DCGM/nvidia-smi readers, XID error catalogs and log parsers, and Nsight Compute/Systems importers.
Package telemetry provides GPU fleet telemetry, NVML/DCGM/nvidia-smi readers, XID error catalogs and log parsers, and Nsight Compute/Systems importers.
Package tracedb defines a zero-dependency interface, schema, and read-only SQL policy for storing and querying GPU traces and telemetry-review sessions in ClickHouse-compatible engines such as chDB.
Package tracedb defines a zero-dependency interface, schema, and read-only SQL policy for storing and querying GPU traces and telemetry-review sessions in ClickHouse-compatible engines such as chDB.
chdbengine
Package chdbengine provides an isolated, zero-cgo purego adapter for libchdb (in-process ClickHouse) with pinned SHA-256 library verification, dedicated restricted ClickHouse RBAC user isolation (`tracedb_ro`), ClickHouse C++ AST classification, and a hard CUDA process isolation guard.
Package chdbengine provides an isolated, zero-cgo purego adapter for libchdb (in-process ClickHouse) with pinned SHA-256 library verification, dedicated restricted ClickHouse RBAC user isolation (`tracedb_ro`), ClickHouse C++ AST classification, and a hard CUDA process isolation guard.
localengine
Package localengine provides a strictly fail-closed, zero-cgo, pure-Go fallback tracedb.Engine backed by JSONL files (or in-memory storage).
Package localengine provides a strictly fail-closed, zero-cgo, pure-Go fallback tracedb.Engine backed by JSONL files (or in-memory storage).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL