Fix fstrings in examples, add alternate map attr access

This commit is contained in:
Pragyansh Chaturvedi
2025-10-02 00:22:59 +05:30
parent d4e8e1bf73
commit 6831f11179
2 changed files with 7 additions and 4 deletions

View File

@ -28,8 +28,8 @@ def hello(ctx: c_void_p) -> c_int32:
dataobj.ts = ktime()
# dataobj.comm = strobj
print(
f"clone called at {dataobj.ts} by pid {
dataobj.pid}, comm {strobj} at time {ts}"
f"clone called at {dataobj.ts} by pid"
f"{dataobj.pid}, comm {strobj}"
)
events.output(dataobj)
return c_int32(0)