We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f33db2 commit 99d6c19Copy full SHA for 99d6c19
1 file changed
pythonbpf/helper/bpf_helper_handler.py
@@ -80,7 +80,7 @@ def bpf_printk_emitter(call, map_ptr, module, builder, func,
80
elif isinstance(call.args[0], ast.Constant) and isinstance(call.args[0].value, str):
81
# TODO: We are onbly supporting single arguments for now.
82
# In case of multiple args, the first one will be taken.
83
- args = _simple_string_print(call.args[0], module, builder, func)
+ args = _simple_string_print(call.args[0].value, module, builder, func)
84
else:
85
raise NotImplementedError(
86
"Only simple string literals or f-strings are supported in bpf_printk.")
0 commit comments