PtcRunner.Kernel.RunAnalysisCapability (PtcRunner v0.14.0)

Copy Markdown View Source

The single capability builder for bounded run-evidence navigation.

Profile sessions receive three stable analysis-* capabilities. A sealed host recipe may expose the same operations as <alias>.<operation>. Both naming forms delegate to PtcRunner.Kernel.RunAnalysis; neither exposes primitive trace or inspection record-family operations.

Summary

Functions

from_analysis(analysis, provider \\ nil)

@spec from_analysis(PtcRunner.Kernel.RunAnalysis.t(), binary() | nil) ::
  {:ok, [PtcRunner.Kernel.Capability.t()]}
  | {:error, :invalid_run_analysis_capability}

from_snapshots(traces, inspection \\ nil, provider \\ nil)

@spec from_snapshots(term(), term() | nil, binary() | nil) ::
  {:ok, [PtcRunner.Kernel.Capability.t()]}
  | {:error, :invalid_run_analysis_capability}