docs: remove redundant c_int64 calls from quickstart

This commit is contained in:
Pragyansh Chaturvedi
2026-01-23 03:17:19 +05:30
parent f03c08703a
commit e0251a05bf

View File

@ -18,7 +18,7 @@ from ctypes import c_void_p, c_int64
@section("tracepoint/syscalls/sys_enter_execve")
def hello_world(ctx: c_void_p) -> c_int64:
print("Hello, World!")
return c_int64(0)
return 0
@bpf
@bpfglobal
@ -172,7 +172,7 @@ Kprobes allow you to attach to any kernel function:
@section("kprobe/do_sys_open")
def trace_open(ctx: c_void_p) -> c_int64:
print("File is being opened")
return c_int64(0)
return 0
```
### XDP (eXpress Data Path)