microsoft / microsoft/ebpf-for-windows

[custom maps] Expose a flag to differentiate a replace vs. new add for map insertion

Open
#5,148 0 comments 0 reactions 1 assignee Claimed by @saxena-anurag View on GitHub
enhancement P3 triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

Currently the map entry add dispatch function for custom maps does not allow extension to differenciate between the 2 scenarios:
1. A new entry is being added.
2. An older entry is being replaced.

**Proposal**: Expose a flag to differentiate between the 2.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.