{
  "slug": "bpftrace-adds-statement-probes-by-source-location-a9c1c60f439d",
  "title": "bpftrace adds statement probes by source location",
  "tools": [
    "bpftrace"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-26T10:02:39.000Z",
  "announced_at": "2026-05-26T10:02:39.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When the target has DWARF source-location information, trace a valid statement from the specified file with a source-location uprobe; use the optional column to narrow the location.",
    "examples": [
      "bpftrace -e 'uprobe:<binary>@<file>:<line> { printf(\"hit\\n\"); }'"
    ],
    "gotchas": [
      "Version: v0.26.0",
      "<binary> (required): ELF binary to probe.",
      "<file> (required): Absolute or relative source-file path.",
      "<line> (required): Line number that must refer to a valid statement in the file.",
      "<column>: Optional column in the source location; if supplied, it must refer to a valid statement.",
      "{ ... } (required): Probe action block; runs when the probe fires.",
      "Prerequisite: The target needs DWARF source-location information for statement probes.",
      "Prerequisite: The binary path must identify a valid ELF target; only statements originating in the specified file are considered, so statements from included files are ignored."
    ]
  },
  "why_it_matters": "Trace a particular source statement while debugging a program.",
  "sources": [
    "https://github.com/bpftrace/bpftrace/releases/tag/v0.26.0",
    "https://github.com/bpftrace/bpftrace/blob/v0.26.0/docs/language.md"
  ],
  "rank": 0.95023,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-9db697c487de255f-3:gate",
    "evidence_hash": "1cedb70b145e6f0b184b059fe280eb4b94ba25dd44fb4f80a8dbef9fdb9d6079"
  },
  "review": {
    "draft_hash": "37ff91a41bfb195f00e3c46ee3ee0586b2addf6f6cb327dae335f3b947c730f8",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.66 (>= 0.6 needed)."
  }
}
