From d397aa5280753a37bc24a6243928e69c5f2026ac Mon Sep 17 00:00:00 2001 From: varun-r-mallya Date: Tue, 9 Sep 2025 00:26:31 +0530 Subject: [PATCH] Add stub for bpf_ktime_get_ns --- pythonbpf/helpers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pythonbpf/helpers.py b/pythonbpf/helpers.py index ddefe9e..c4077f2 100644 --- a/pythonbpf/helpers.py +++ b/pythonbpf/helpers.py @@ -1,2 +1,4 @@ +import ctypes + def bpf_ktime_get_ns(): - return bpf_ktime_get_ns() + return ctypes.c_int64(0)