This commit is contained in:
Qiuxia Fan 2022-04-21 11:50:22 +08:00
parent 20f49e6e21
commit 509ecfa82f

View File

@ -100,9 +100,7 @@ async function analyzeEBPF() {
let arr: string[] = []; let arr: string[] = [];
if (selectedLabels.value.includes("0")) { if (selectedLabels.value.includes("0")) {
arr = labels.value.map((d: Option) => d.value); arr = labels.value.map((d: Option) => d.value);
arr.pop();
} }
console.log(arr);
const ranges: { start: number; end: number }[] = []; const ranges: { start: number; end: number }[] = [];
const scheduleIdList = ebpfStore.eBPFSchedules.flatMap( const scheduleIdList = ebpfStore.eBPFSchedules.flatMap(
(d: EBPFProfilingSchedule) => { (d: EBPFProfilingSchedule) => {