Răsfoiți Sursa

Fixed #TSB-1234 test

ilucky.si 1 an în urmă
părinte
comite
6fc182e6f9
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      ebpftracer/ebpf/l7/l7.c

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

@@ -306,7 +306,7 @@ void perf_event_batch_output(void *ctx,  struct l7_event *e) {
     __u32 src_size = sizeof(src);
     bpf_printk("IK...perf_event_batch_output...src=%d", src_size);
     // unsigned char *dst = e_buff->data + e_buff->len;
-    cw_copy_byte_arrays(src, e_buff->data, e_length);
+    // cw_copy_byte_arrays(src, e_buff->data, e_length);
 //    for (int i = 0; i < e_length; i++) {   //IK:ERROR: IK: BPF stack limit of 512 bytes is exceeded. Please move large on stack variables into BPF per-cpu array map.
 //        // *dst++ = *src++;
 //        e_buff->data[i] = src[i];