Skip to content

Add CUDA-GDB support to nvproxy - #16994

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl1013982654
Open

copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl1013982654

Conversation

@copybara-service

Copy link
Copy Markdown

Add CUDA-GDB support to nvproxy

CUDA-GDB cannot reliably initialize or debug GPU programs because nvproxy rejects some of the event and debugger operations it needs.

Proxy the missing operations using Sentry-owned buffers for embedded pointers. Limit debugger writes to tracked, writable memory, preserving read-only restrictions when handles are duplicated.

The five new debugger controls require an explicit profiling opt-in:

--nvproxy-allowed-driver-capabilities=compute,utility,profiling

General event retrieval stays under compute/utility, and existing debugger controls are unchanged.

Systrap ptrace compatibility is handled separately in #15938.
Auto-fixed-by: [🤖] @EtiennePerot
FUTURE_COPYBARA_INTEGRATE_REVIEW=#15741 from botirkhaltaev:botir/nvproxy-get-event-data 0e77f9e

CUDA-GDB cannot reliably initialize or debug GPU programs because nvproxy rejects some of the event and debugger operations it needs.

Proxy the missing operations using Sentry-owned buffers for embedded pointers. Limit debugger writes to tracked, writable memory, preserving read-only restrictions when handles are duplicated.

The five new debugger controls require an explicit `profiling` opt-in:

```text
--nvproxy-allowed-driver-capabilities=compute,utility,profiling
```

General event retrieval stays under compute/utility, and existing debugger controls are unchanged.

Systrap ptrace compatibility is handled separately in #15938.
Auto-fixed-by: [🤖] @EtiennePerot
FUTURE_COPYBARA_INTEGRATE_REVIEW=#15741 from botirkhaltaev:botir/nvproxy-get-event-data 0e77f9e
PiperOrigin-RevId: 1013982654
@copybara-service copybara-service Bot added the exported Issue was exported automatically label Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant