Skip to content

Commit

Permalink
Inline _ebpf_adjust_value_pointer to reduce cost of ebpf_map_find_ent…
Browse files Browse the repository at this point in the history
…ry (#3804)

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
  • Loading branch information
Alan-Jowett and Alan Jowett authored Aug 30, 2024
1 parent 9a82449 commit 3240a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/execution_context/ebpf_maps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ _next_hash_map_key_and_value(
return result;
}

static ebpf_result_t
static __forceinline ebpf_result_t
_ebpf_adjust_value_pointer(_In_ const ebpf_map_t* map, _Inout_ uint8_t** value)
{
uint32_t current_cpu;
Expand Down

0 comments on commit 3240a2e

Please sign in to comment.