Add bpf_ktime_get_ns helper function without IR gen

This commit is contained in:
2025-09-07 20:58:54 +05:30
parent 3b5425ca1b
commit d87decd25e
4 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,9 @@
import ast
from llvmlite import ir
def bpf_ktime_get_ns_emitter(call, module, builder, func):
pass
def bpf_printk_emitter(call, module, builder, func):
if not hasattr(func, "_fmt_counter"):
func._fmt_counter = 0