Remove old eBPF implementations - keep only new BCC-style concurrent tracing

This commit is contained in:
Harshavardhan Musanalli
2025-11-08 14:56:56 +01:00
parent 8328f8d5b3
commit 190e54dd38
10 changed files with 326 additions and 1613 deletions

View File

@@ -407,8 +407,9 @@ func (c *WebSocketClient) executeEBPFPrograms(ebpfPrograms []interface{}) []map[
})
}
// Execute eBPF programs using the agent's eBPF execution logic
return c.agent.executeEBPFPrograms(ebpfRequests)
// Execute eBPF programs using the agent's new BCC concurrent execution logic
traceSpecs := c.agent.convertEBPFProgramsToTraceSpecs(ebpfRequests)
return c.agent.executeBCCTracesConcurrently(traceSpecs)
}
// executeCommandsFromPayload executes commands from a payload and returns results