Skip to content

Commit 24b2d4c

Browse files
authored
Update opentelemetry-ebpf-profiler to latest (#3161)
2 parents 3bfb906 + ec1e363 commit 24b2d4c

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@ require (
177177
sigs.k8s.io/yaml v1.4.0 // indirect
178178
)
179179

180-
replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260311190555-d8b5dc8fcb49
180+
replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.202611-0.20260318195408-a0d0c958888a

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ github.com/opencontainers/selinux v1.13.0/go.mod h1:XxWTed+A/s5NNq4GmYScVy+9jzXh
299299
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0=
300300
github.com/parca-dev/oomprof v0.1.6 h1:potfd09aphNKqsIF54ZsiddTvksVMjQiaKnczFOsVGM=
301301
github.com/parca-dev/oomprof v0.1.6/go.mod h1:iqI6XrmiNWOa8m2vEIKo+GtQrqbWCMLFpBWuk8RuAPs=
302-
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260311190555-d8b5dc8fcb49 h1:3GOcv8PXZKvjGzR0W6JjWFPh0maKVukSyN5ZG44cCmI=
303-
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260311190555-d8b5dc8fcb49/go.mod h1:4DvUDuFwWO3OJoe824nY4Tw6jBrLGEY/hS6dsGDd0V8=
302+
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.202611-0.20260318195408-a0d0c958888a h1:UkFDMYF3Lm7ZCOMf/EH3sD/aBhBv5xihLIo16nb+SxE=
303+
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.202611-0.20260318195408-a0d0c958888a/go.mod h1:4DvUDuFwWO3OJoe824nY4Tw6jBrLGEY/hS6dsGDd0V8=
304304
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0=
305305
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y=
306306
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=

main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ func mainWithExitCode() flags.ExitCode {
439439

440440
// Load the eBPF code and map definitions
441441
traceBufferMultiplier := 1
442-
if f.InstrumentCudaLaunch {
442+
if includeTracers.Has(tracertypes.CUDATracer) {
443443
// GPU profiling generates high trace volume, increase buffer
444444
traceBufferMultiplier = 50
445445
}
@@ -462,7 +462,6 @@ func mainWithExitCode() flags.ExitCode {
462462
// maybe this is useful to someone, but I'm not sure why... we should check why upstream added it.
463463
FilterIdleFrames: true,
464464
IncludeEnvVars: includeEnvVars,
465-
InstrumentCudaLaunch: f.InstrumentCudaLaunch,
466465
TraceBufferSizeMultiplier: traceBufferMultiplier,
467466
})
468467
metrics.SetReporter(parcaReporter)
@@ -540,7 +539,7 @@ func mainWithExitCode() flags.ExitCode {
540539
}
541540

542541
var interceptor processmanager.TraceInterceptor
543-
if f.InstrumentCudaLaunch {
542+
if includeTracers.Has(tracertypes.CUDATracer) {
544543
interceptor = parcagpu.Start(ctx, trc, parcaReporter)
545544
trc.SetInterceptor(interceptor)
546545
}

0 commit comments

Comments
 (0)