Add perf_event_output boilerplate

This commit is contained in:
Pragyansh Chaturvedi
2025-09-21 15:14:28 +05:30
parent 6b92a16ca1
commit 69a86c2433
3 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,7 @@ def hello(ctx: c_void_p) -> c_int32:
dataobj.pid = process_id
dataobj.ts = ts
print(f"clone called at {ts} by pid {process_id}")
events.output(dataobj)
return c_int32(0)