Files
metal2vulkan/scripts/dma-buf-leak
Anees Iqbal 849f7250d9 kernel-holds-gpuvm.bt: probe only the DRM core, key probe counts by probe name, read arg0 before the loop
Three fixes the Asahi run needed, folded into the committed copy:

- The asahi driver's Rust functions (its GEM close callback and its gpuvm
  step_map/step_unmap callbacks) are not in available_filter_functions, so
  their kprobes failed to attach. They are gone, with their three table
  columns; the kernel stacks of the unlinks and puts show those callbacks.
- @n[func] keyed the map by a ksym in kprobe context while the other keys
  are strings; it is @n[probe] now.
- drm_gpuvm_fini read arg0 inside the for-loop over @vbvm, which bpftrace
  rejects; it copies arg0 to $vm first.

Verified: the Asahi session ran the same three fixes as a local copy
(round 3, 19 probes attached, tables and stacks printed). This file is that
copy with the dropped columns removed instead of held at zero; this exact
file has not run yet.
2026-11-11 07:58:49 -08:00
..