From bf2562ebdac57f8cecb7c5725bb2b79f9c54a53c Mon Sep 17 00:00:00 2001 From: Tommy Reilly Date: Sat, 18 Oct 2025 18:06:51 -0400 Subject: [PATCH] Bump to pick up graph fixes and dlopen stuff --- go.mod | 3 ++- go.sum | 6 ++++-- main.go | 2 +- metrics/all.go | 6 +++--- metrics/metrics.json | 6 +++--- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/go.mod b/go.mod index d5aa9d0579..61944ba9fe 100644 --- a/go.mod +++ b/go.mod @@ -98,6 +98,7 @@ require ( github.com/google/uuid v1.6.0 // indirect github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect + github.com/ianlancetaylor/demangle v0.0.0-20250417193237-f615e6bd150b // indirect github.com/josharian/intern v1.0.0 // indirect github.com/josharian/native v1.1.0 // indirect github.com/jpillora/backoff v1.0.0 // indirect @@ -164,4 +165,4 @@ require ( sigs.k8s.io/yaml v1.4.0 // indirect ) -replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20251008201720-d97b42173c24 +replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20251018214708-e8c621a0e0a6 diff --git a/go.sum b/go.sum index b6fd84613a..605350f35a 100644 --- a/go.sum +++ b/go.sum @@ -178,6 +178,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 h1:5ZPtiqj0JL5oKWmcsq4VMaAW5uk github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3/go.mod h1:ndYquD05frm2vACXE1nsccT4oJzjhw2arTS2cpUD1PI= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= +github.com/ianlancetaylor/demangle v0.0.0-20250417193237-f615e6bd150b h1:ogbOPx86mIhFy764gGkqnkFC8m5PJA7sPzlk9ppLVQA= +github.com/ianlancetaylor/demangle v0.0.0-20250417193237-f615e6bd150b/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/josharian/native v1.1.0 h1:uuaP0hAbW7Y4l0ZRQ6C9zfb7Mg1mbFKry/xzDAfmtLA= @@ -264,8 +266,8 @@ github.com/opencontainers/selinux v1.12.0 h1:6n5JV4Cf+4y0KNXW48TLj5DwfXpvWlxXplU github.com/opencontainers/selinux v1.12.0/go.mod h1:BTPX+bjVbWGXw7ZZWUbdENt8w0htPSrlgOOysQaU62U= github.com/parca-dev/oomprof v0.1.5-0.20250922151707-ec00408377fb h1:OErx5d2jVlHFFx5fnGKYNIf5KymfhwPVgdSct6KOlHQ= github.com/parca-dev/oomprof v0.1.5-0.20250922151707-ec00408377fb/go.mod h1:iqI6XrmiNWOa8m2vEIKo+GtQrqbWCMLFpBWuk8RuAPs= -github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20251008201720-d97b42173c24 h1:dwMLiornqZq6Pj32MvBXs6kZM3oXj5+TCqbqpQbbyHw= -github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20251008201720-d97b42173c24/go.mod h1:XiydAikAQ7vc3UGjI0B5bWe+r9nJhE9sgHQqaP5Bvi0= +github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20251018214708-e8c621a0e0a6 h1:UMzXMMKfI5IZSG5Jo6OolfVopyJTHzbKB06RAi9peck= +github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20251018214708-e8c621a0e0a6/go.mod h1:hAY/r0zLgpF2yKZ/P3afCcynuAVY5YrQceQ/llE9AAo= github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0= github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU= diff --git a/main.go b/main.go index 32f1566022..62eb617533 100644 --- a/main.go +++ b/main.go @@ -529,7 +529,7 @@ func mainWithExitCode() flags.ExitCode { if f.InstrumentCudaLaunch { // GPU processor will consume traces and filter out GPU samples awaiting // timing information. - traceCh = parcagpu.Start(ctx, traceCh, trc.GetEbpfMaps()["cuda_timing_events"]) + traceCh = parcagpu.Start(ctx, traceCh, trc) } if _, err := tracehandler.Start(ctx, rep, trc.TraceProcessor(), diff --git a/metrics/all.go b/metrics/all.go index 180020240e..f9cf9b49ae 100644 --- a/metrics/all.go +++ b/metrics/all.go @@ -1361,9 +1361,9 @@ var AllMetrics = map[otelmetrics.MetricID]Metric { Type: MetricTypeCounter, Unit: MetricUnitNone, }, - otelmetrics.IDRtldMapCompleteHits: { - Desc: "Number of times rtld:map_complete USDT probe was fired", - Field: "bpf.rtld.map_complete_hits", + otelmetrics.IDDlopenUprobeHits: { + Desc: "Number of times dlopen uprobe was fired", + Field: "bpf.dlopen.uprobe_hits", Type: MetricTypeCounter, Unit: MetricUnitNone, }, diff --git a/metrics/metrics.json b/metrics/metrics.json index c21656d1e9..ca33c05970 100644 --- a/metrics/metrics.json +++ b/metrics/metrics.json @@ -2115,10 +2115,10 @@ "id": 293 }, { - "description": "Number of times rtld:map_complete USDT probe was fired", + "description": "Number of times dlopen uprobe was fired", "type": "counter", - "name": "RtldMapCompleteHits", - "field": "bpf.rtld.map_complete_hits", + "name": "DlopenUprobeHits", + "field": "bpf.dlopen.uprobe_hits", "id": 294 } ]