Add string example

This commit is contained in:
Pragyansh Chaturvedi
2025-09-25 22:15:14 +05:30
parent 9e87ee52f2
commit 35969c4ff7

View File

@ -21,6 +21,7 @@ def events() -> PerfEventArray:
@bpf
@section("tracepoint/syscalls/sys_enter_clone")
def hello(ctx: c_void_p) -> c_int32:
strobj = "Hi"
dataobj = data_t()
ts = ktime()
process_id = pid()