The BPF code was incorrectly passing pointer variables by value to bpf_usdt_readarg()
, causing the function to fail silently and resulting in transaction hashes showing as zeros and reason strings displaying empty strings.
This fix adds the missing reference operator (&) when passing pointer variables to bpf_usdt_readarg()
, allowing the function to properly write the pointer values and enabling correct display of transaction hashes and removal/rejection reasons.
Fixes the regression introduced in ec47ba349d where bpf_usdt_readarg_p
was replaced with bpf_usdt_readarg
but the calling convention wasn’t properly updated for pointer arguments.
Before: “0000000000000000000000000000000000000000000000000000000000000000” tx hashes, and missing reasons (empty strings) for removal.
After: tx hashes show, reasons for removal showing.