Skip to content

Commit 83f637e

Browse files
authored
Fix cuda prog map, apparently only arm cares? (#227)
1 parent ea6772e commit 83f637e

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

support/ebpf/cuda.ebpf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ struct cuda_progs_t {
227227
__type(key, u32);
228228
__type(value, u32);
229229
__uint(max_entries, 1);
230-
} cuda_progs;
230+
} cuda_progs SEC(".maps");
231231

232232
SEC("usdt/cuda_probe")
233233
int cuda_probe(struct pt_regs *ctx)

support/ebpf/tracer.ebpf.amd64

-64 Bytes
Binary file not shown.

support/ebpf/tracer.ebpf.arm64

-56 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)