Loading samples/bpf/hbm_kern.h +2 −9 Original line number Diff line number Diff line Loading @@ -30,15 +30,8 @@ #define ALLOW_PKT 1 #define TCP_ECN_OK 1 #define HBM_DEBUG 0 // Set to 1 to enable debugging #if HBM_DEBUG #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) #else #ifndef HBM_DEBUG // Define HBM_DEBUG to enable debugging #undef bpf_printk #define bpf_printk(fmt, ...) #endif Loading samples/bpf/tcp_basertt_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -21,13 +21,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_basertt(struct bpf_sock_ops *skops) { Loading samples/bpf/tcp_bufs_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -22,13 +22,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_bufs(struct bpf_sock_ops *skops) { Loading samples/bpf/tcp_clamp_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -22,13 +22,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_clamp(struct bpf_sock_ops *skops) { Loading samples/bpf/tcp_cong_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -21,13 +21,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_cong(struct bpf_sock_ops *skops) { Loading Loading
samples/bpf/hbm_kern.h +2 −9 Original line number Diff line number Diff line Loading @@ -30,15 +30,8 @@ #define ALLOW_PKT 1 #define TCP_ECN_OK 1 #define HBM_DEBUG 0 // Set to 1 to enable debugging #if HBM_DEBUG #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) #else #ifndef HBM_DEBUG // Define HBM_DEBUG to enable debugging #undef bpf_printk #define bpf_printk(fmt, ...) #endif Loading
samples/bpf/tcp_basertt_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -21,13 +21,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_basertt(struct bpf_sock_ops *skops) { Loading
samples/bpf/tcp_bufs_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -22,13 +22,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_bufs(struct bpf_sock_ops *skops) { Loading
samples/bpf/tcp_clamp_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -22,13 +22,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_clamp(struct bpf_sock_ops *skops) { Loading
samples/bpf/tcp_cong_kern.c +0 −7 Original line number Diff line number Diff line Loading @@ -21,13 +21,6 @@ #define DEBUG 1 #define bpf_printk(fmt, ...) \ ({ \ char ____fmt[] = fmt; \ bpf_trace_printk(____fmt, sizeof(____fmt), \ ##__VA_ARGS__); \ }) SEC("sockops") int bpf_cong(struct bpf_sock_ops *skops) { Loading