From e9bb90cb706372346fa009c399d1de1043ed27ec Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Mon, 17 Nov 2025 01:46:57 +0530 Subject: [PATCH] Add docstring for bpf_get_stack_emitter --- pythonbpf/helper/bpf_helper_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pythonbpf/helper/bpf_helper_handler.py b/pythonbpf/helper/bpf_helper_handler.py index d54fda3..ba35cc4 100644 --- a/pythonbpf/helper/bpf_helper_handler.py +++ b/pythonbpf/helper/bpf_helper_handler.py @@ -959,6 +959,9 @@ def bpf_get_stack_emitter( struct_sym_tab=None, map_sym_tab=None, ): + """ + Emit LLVM IR for bpf_get_stack helper function call. + """ if len(call.args) not in (1, 2): raise ValueError( f"get_stack expects atmost two arguments (buf, flags), got {len(call.args)}"