private Collector<EBPFProfilingTaskRecord, EBPFProfilingTaskSummary, EBPFProfilingTaskSummary> buildSummaryCollector() {
        return Collector.of(EBPFProfilingTaskSummary::new,
            (result, task) -> {
                result.setCount(result.getCount() + 1);
                if (task.getStartTime() > result.getLastTriggerTime()) {
                    result.setLastTriggerTime(task.getStartTime());
                }
                result.getRecords().add(task);
            },
            (result1, result2) -> {
                result1.setCount(result1.getCount() + result2.getCount());
                if (result2.getLastTriggerTime() > result1.getLastTriggerTime()) {
                    result1.setLastTriggerTime(result2.getLastTriggerTime());
                }
                result1.getRecords().addAll(result2.getRecords());
                return result1;
            });
    }
Summary all records to one summary
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/profiling/continuous/ContinuousProfilingQueryService.java