We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb18ab6 commit 45d85c4Copy full SHA for 45d85c4
1 file changed
BCC-Examples/disksnoop.py
@@ -27,7 +27,7 @@ def trace_completion(ctx: struct_pt_regs) -> c_int64:
27
print(f"{data_len} {cmd_flags:x} {delta_us}\n")
28
start.delete(req_ptr)
29
30
- return c_int64(0)
+ return 0 # type: ignore [return-value]
31
32
33
@bpf
@@ -36,7 +36,7 @@ def trace_start(ctx1: struct_pt_regs) -> c_int32:
36
req = ctx1.di
37
ts = ktime()
38
start.update(req, ts)
39
- return c_int32(0)
40
41
42
0 commit comments