Kaynağa Gözat

Fixed #TSB-1234 test

ilucky.si 1 yıl önce
ebeveyn
işleme
af22c31edc
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      ebpftracer/ebpf/l7/l7.c

+ 1 - 1
ebpftracer/ebpf/l7/l7.c

@@ -336,7 +336,7 @@ void perf_event_batch_output(void *ctx,  struct l7_event *e) {
         // 32700=0*8 0*8 01111111 10011100 & (0*8 0*8 10000000 00000000 - 1 = 0*8 0*8 01111111 11111111) = 0*8 0*8 0*8 01100011 = 32700
         __u32 t1 = (e_buff->len + offsetof(typeof(struct __socket_data_buffer), data));
         __u32 t2 = (sizeof(*e_buff) - 1);
-        __u32 t3 = e_buff->events_num
+        __u32 t3 = e_buff->events_num;
         bpf_printk("IK...perf_event_batch_output...%d, %d, %d",t1, t2, t3);  // 18424, 32767
         //__u32 buf_size = (e_buff->len + offsetof(typeof(struct __socket_data_buffer), data)) & (sizeof(*e_buff) - 1);
         // bpf_printk("IK...perf_event_batch_output...%d", buf_size); // 18424