浏览代码

Fixed #TSB-1234 test

ilucky.si 1 年之前
父节点
当前提交
d35055c12f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ebpftracer/ebpf/l7/l7.c

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

@@ -304,7 +304,7 @@ void perf_event_batch_output(void *ctx,  struct l7_event *e) {
     bpf_printk("IK...perf_event_batch_output...e->payload_size=%d, e_length=%d", e->payload_size, e_length);
     unsigned char *src = (unsigned char *)e;
     // 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];