Skip to content

Commit

Permalink
main: remove call to tracer.ProbeTracepoint
Browse files Browse the repository at this point in the history
the upstream ebpf profiler is now allow to run without tracepoints
if possible
  • Loading branch information
Gandem committed Nov 19, 2024
1 parent 142626b commit 0420b4e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0420b4e

Please sign in to comment.