mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Add bpf_ktime_get_ns helper function without IR gen
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user