From 0420b4e64a20c69abace099307f1f520b03b07ac Mon Sep 17 00:00:00 2001 From: Nayef Ghattas Date: Tue, 19 Nov 2024 18:58:32 +0100 Subject: [PATCH] main: remove call to tracer.ProbeTracepoint the upstream ebpf profiler is now allow to run without tracepoints if possible --- main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.go b/main.go index b1b78a7..36c838e 100644 --- a/main.go +++ b/main.go @@ -144,10 +144,6 @@ func mainWithExitCode() exitCode { return failure("Failed to probe eBPF syscall: %v", err) } - if err = tracer.ProbeTracepoint(); err != nil { - return failure("Failed to probe tracepoint: %v", err) - } - presentCores, err := numcpus.GetPresent() if err != nil { return failure("Failed to read CPU file: %v", err)