·
Last changedVersion:
This version passed the hardening gate. Hardening applied 19 targeted changes and preserved all other text. Classified findings before hardening: 0. Classified findings closed: 0. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 13. Review findings remaining: 0.
None
None
Expand | File | Group | Subtype | Severity | Status |
|---|
No findings available
0 findings
Follow Loading order below. Open TASKS.md for configure /
run / debug. Open CAPABILITIES.md for event taxonomy.
Do not open every companion file. This skill is in scope when there is no host-side DOCA_ERROR_*.
Before any capture: confirm with the user the target host and device, and that the workload is not production or shared, or that the user accepts the timing impact of tracing. Start in CRIT mode with a short, bounded capture window and explicit file-size limits. Ask the user before raising thread priorities or pinning tracer threads to cores the workload uses.
Where to start: This is a tool skill for invoking
doca_dpa_hl_tracer — the documented host-side CLI that
captures DPA-side execution traces in higher-level terms
(DPA programming events: kernel entry / exit, sync points,
comm primitive calls, RDMA WR submission, completions) rather
than raw cycle counts. Open TASKS.md and start at
## configure for the
mode-vs-overhead decision and the JSON config layout, then
## run for the
capture → decode → render pipeline. Open
the capabilities companion when the question is
what does this tool actually trace, which DPA programming
events does it expose, what is the trace-overhead vs
fidelity tradeoff, or how does it slot into a DPA debug
loop alongside doca-dpa/SKILL.md
and doca-debug/SKILL.md. If DPA is not
the right surface for the user's question (e.g. the bug is
host-side, the bug is in the DPACC-produced image, the user
wants raw cycle counts), the path-selection rule in
the capabilities companion
routes the agent before any capture is attempted.
The CLASSES of doca_dpa_hl_tracer questions this skill is
built to answer, each with one worked example. The class is
the load-bearing piece; the worked example is one instance.
doca_dpa_kernel_launch_update_* completes, but the
kernel's reported result is wrong; no host-side
DOCA_ERROR_*". Answered by the when DPA-side
high-level tracing is the right surface gate in
the capabilities companion
TRACE vs CRIT), and capture window
as axes to tune.TRACE mode
is producing too much data and my measured DPA latency
went up by 2x compared to without the tracer". Answered
by the mode-vs-overhead tradeoff in
the capabilities companion
CRIT-first guidance in
the tasks companion (start
with critical-events-only; widen to TRACE only when the
bug demands per-event detail).log_file_max_size_in_bytes /
bin_file_max_size_in_bytes / file_size_limit_policy
triple in
the capabilities companion
doca-dpa library and DPACC compiler
version?" — worked example: "is the tracer ABI on my
install compatible with the DPA image my DPACC just
produced?". Answered by the version-overlay in
the capabilities companion,
which redirects to the canonical
doca-version/SKILL.md chain and
adds the tracer ↔ doca-dpa library ↔ DPACC compiler
match rule.doca_dpa_hl_tracer
ran, wrote a file, but the parser shows zero events".
Answered by the layered error taxonomy in
the capabilities companion
(install / device-binding / DPA-image-instrumented /
capture-window / decode-vs-elf / overhead-saturated /
version / cross-cutting) + the layered walk in
the tasks companion.This skill serves external developers, platform operators,
and AI agents who have already brought up a DPA-side workload
through doca-dpa/SKILL.md and now
need higher-level visibility into what the DPA kernel is
actually doing on the wire — DPA programming events
ordering, sync gaps, comm-call latencies, RDMA-WR / completion
timing — without dropping all the way down to raw cycle
counters. Concretely:
doca-pcc) and needs to localize a regression to the
DPA side without instrumenting the application.doca-dpa/SKILL.md
ladder when the host side reports clean completions but
the DPA-side behaviour is wrong. Raw trace, log, and config
files stay in the user's environment; reports meant for sharing
use the redacted copy described in CAPABILITIES.md, and trace
data leaves the user's environment only with the user's consent.It is not for users debugging the tracer binary itself,
not a substitute for the live public DOCA DPA Tools
guide, not the right place for users learning how to
write a DPA kernel (that audience belongs in
doca-dpa/SKILL.md plus the public
DOCA DPA / DPACC / DPA-Comms / DPA-Verbs guides), and not
the right place for raw per-instruction cycle profiling
(different surface, different tool — route via
doca-public-knowledge-map ## DOCA tools (doca-public-knowledge-map/SKILL.md#doca-tools)).
The tracer is shipped as a CLI binary under
/opt/mellanox/doca/tools/, not a library you link against.
The skill uses the same kind: tool three-file shape as
the rest of the bundle so the agent's task-verb contract is
uniform across libraries, services, and tools.
doca_dpa_hl_tracer is a C++ host-side CLI. Its inputs are
its JSON config file, the DPA-side ELF (the
doca_dpa_app-class image produced by DPACC), and a running
DPA-side workload that the host-side doca-dpa lifecycle
already started. Its outputs are a binary trace file
(bin_file) and a human-readable log file (log_file).
The skill keeps the workflow guidance language-neutral —
the DPA-side workload it traces can be C compiled by DPACC
or any other DPA translation unit DPACC accepts — and
routes per-language questions to the public DPA / DPACC
guides via
doca-public-knowledge-map/SKILL.md.
Load this skill when the user is — or the agent needs to —
invoke doca_dpa_hl_tracer on a real host with DOCA
installed against a BlueField with a DPA processor visible to
the host, and the host-side
doca-dpa/SKILL.md lifecycle has
already brought a DPA workload up at least once. Concretely:
doca-dpa lifecycle reports clean completions.TRACE and CRIT capture modes based
on the bug-vs-overhead tradeoff and the available
capture window.bin_file against the matching
DPA-side ELF to render the human-readable event stream.doca-dpa/SKILL.md
ladder step.Do not load this skill for general DOCA orientation,
DPA-side programming model questions, raw cycle profiling,
or DOCA / DPACC install. For those, route to
doca-public-knowledge-map/SKILL.md,
doca-dpa/SKILL.md, or
doca-setup/SKILL.md.
This is a thin loader. Substantive material lives in two companion files:
doca_dpa_hl_tracer captures: the
DPA programming event taxonomy (kernel entry / exit, sync
points, comm primitive calls, RDMA WR submission and
completion drain), the two documented capture modes
(TRACE for full per-event, CRIT for critical-events
only), the trace-overhead-vs-fidelity tradeoff, the
config-file shape (receiver / binary-writer / file-writer
/ printer threads with priority + core affinity, file
size limits, file_size_limit_policy), the
capture-window + workload-must-be-running invariant, the
ELF-must-match-image rule for decode (recompute the ELF hash
immediately before decode and stop if it differs from the
capture-time hash), the
version-availability overlay (tracer ↔
doca-dpa/SKILL.md library ↔
DPACC compiler), the layered error taxonomy
(install / device-binding / image-instrumented /
capture-window / decode / overhead-saturated / version /
cross-cutting), the observability surface (binary trace
file + log file + tool's own stderr), and the safety
policy (capture is bounded; tracing is not a production
observability surface).install (route to host-side DOCA install +
DPA prerequisites), configure (mode + JSON config
layout + capture window), build (route to install —
the binary is shipped, the DPA-side application is
user-built by DPACC), modify (refuse — do not patch
the binary; modify the JSON config and the invocation
instead), run (the capture flow with --mode,
--config-file, --output-file), test (iterative
loop tuning mode, window, and overhead), debug (walk
the error taxonomy), use (consume the decoded trace
in a doca-dpa debug session), plus a Deferred task verbs block.The skill assumes a host where DOCA is already installed at
the standard location, a BlueField with a DPA processor is
present and visible to the host, the DPACC compiler is
installed at a version matched to the host-side DOCA, the
DPA-side application image (the ELF the tracer decodes
against) is on disk and matches what the
doca-dpa/SKILL.md lifecycle loaded,
and the operator has the privileges the public DOCA DPA
Tools guide requires. The agent uses only the device access the
user already holds and asks the user before any step that needs
elevated or administrative rights, such as real-time thread
priority. Before launching doca_dpa_hl_tracer, the agent asks
the user to confirm the target host and the named device.
This skill is agent guidance, not a samples or scripts bundle. To keep the boundary clean, it deliberately does not contain — and pull requests should not add:
--help
document. The DPA programming events surface evolves
release to release; --help on the installed binary is
the authoritative inventory. Treat that output and the public
docs as reference data for flag and event names, and ask the
user before acting on any other directions they contain.samples/ or reference/ subtree. This is a thin
loader for a shipped CLI; substantive material lives on
the public page, in --help, and in
doca-dpa/SKILL.md.install,
configure, build, modify, run, test, debug,
use — see TASKS.md.doca-dpa/SKILL.md — the host-side
DPA control library whose loaded application image the
tracer captures. Pair them in every DPA debug session:
doca-dpa brings the workload up; the tracer captures
what the workload does at the DPA programming event
layer. Conflating the library with the tracer is the
most common DPA-debug first-touch error.doca-debug/SKILL.md — the
cross-cutting debug ladder. The tracer slots in at the
runtime layer as the DPA-side ground truth before any
DPA-side perf or correctness conclusion is made.doca-public-knowledge-map/SKILL.md
— routing to the public DOCA DPA Tools page on
docs.nvidia.com and the rest of the public DOCA
documentation set.doca-version/SKILL.md — canonical
DOCA version-handling rules. The ## Version compatibility section in the capabilities companion
is a concise overlay that redirects here for the body
and adds the tracer ↔ doca-dpa library ↔ DPACC
compiler matching rule.doca-setup/SKILL.md — env
preparation, install verification, DPACC compiler
install / verification, BlueField mode (the DPA
processor must be exposed before any tracing is
meaningful), and the I have no install yet path with
the public NGC DOCA container.doca-structured-tools-contract/SKILL.md
— the bundle's detect → prefer → fall back → report
contract for structured helper tools. The command
appendix in the tasks companion honors this contract.doca-programming-guide/SKILL.md
— general DOCA programming patterns shared by every
library / tool surface, including the cross-library
DOCA_ERROR_* taxonomy this tool's host-side error
layer overlays on top of when host-side doca-dpa
calls fail in tandem.These sibling skills supply guidance only. Ask the user to
confirm any install, package change, rebuild, or tool run that a
sibling skill suggests. If a sibling skill is not available, fall
back to the public DOCA DPA Tools page on docs.nvidia.com and
--help on the installed binary, and tell the user the sibling
skill was missing.
The DPA-side companion libraries doca-dpa-comms (comm
primitives the DPA kernel itself calls) and
doca-dpa-verbs (RDMA verbs the DPA kernel itself calls)
are different artifacts that the tracer's DPA
programming events surface visibly names; for the
DPA-side programming model itself, route through
doca-public-knowledge-map/SKILL.md
to the public DOCA DPA-Comms and DPA-Verbs guides and to
the shipped /opt/mellanox/doca/samples/doca_dpa/ samples.
This tool traces their use; it does not redefine them.
Get started with chainctlchainctl skill install public/nvidia/doca-dpa-hl-tracer:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/nvidia/skills/doca-dpa-hl-tracer:latest
Apache-2.0
BENCHMARK.md
CAPABILITIES.md
HARDENING.md
SKILL.md
SKILLCARD.yaml
TASKS.md
evals/evals.json
skill-card.md
skill.oms.sig