mirror of
				https://github.com/xdp-project/bpf-examples.git
				synced 2024-05-06 15:54:53 +00:00 
			
		
		
		
	Use a JSON-writer library from iproute instead of complicated printf statement. Also output timestamp, rtt and min_rtt as integers in nanoseconds, rather than floats in seconds. Signed-off-by: Simon Sundberg <simon.sundberg@kau.se>
		
			
				
	
	
		
			12 lines
		
	
	
		
			201 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			201 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
 | 
						|
 | 
						|
LIB_DIR = ../lib
 | 
						|
 | 
						|
include $(LIB_DIR)/common.mk
 |