mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
Add some debug info to the periodical map cleanup process. Push debug information through the events perf buffer by using newly added map_clean_event. The old user space map cleanup process had some simple debug information that was lost when transitioning to using bpf_iter instead. Therefore, add back similar (but more extensive) debug information but now collected from the BPF-side. In addition to stats on entries deleted by the cleanup process, also include stats on entries deleted by ePPing itself due to matching (for timestamp entries) or detecting FIN/RST (for flow entries) Signed-off-by: Simon Sundberg <simon.sundberg@kau.se>
12 lines
223 B
Makefile
12 lines
223 B
Makefile
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
|
|
USER_TARGETS := pping
|
|
BPF_TARGETS := pping_kern
|
|
|
|
LDLIBS += -pthread
|
|
EXTRA_DEPS += pping.h pping_debug_cleanup.h
|
|
|
|
LIB_DIR = ../lib
|
|
|
|
include $(LIB_DIR)/common.mk
|