@@ -271,7 +271,7 @@ void perf_event_batch_output(void *ctx, struct l7_event *e) {
// IK:Test...
__u32 k0 = 0;
// struct __socket_data_buffer *e_buff = bpf_map_lookup_elem(&NAME(data_buf), &k0); // IK:TODO: 为什么必须要加NAME? 和map的声明方式有关系
- struct __socket_data_buffer *e_buff = bpf_map_lookup_elem(data_buf, &k0);
+ struct __socket_data_buffer *e_buff = bpf_map_lookup_elem(&data_buf, &k0);
if (!e_buff) {
return;
}