Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebpf: increase number of stack delta buckets #231

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

florianl
Copy link
Contributor

@florianl florianl commented Nov 8, 2024

With #230 an issue is reported, where the number of stack delta buckets is not sufficient.
Increase stack delta bucket to be able to unwind also such executables.

Fixes #230.

With
#230 an
issue is reported, where the number of stack delta buckets is not
sufficient.
Increase stack delta bucket to be able to unwind also such executables.

Signed-off-by: Florian Lehner <[email protected]>
@florianl florianl force-pushed the flo-increase-stack-deltas branch from c3bc07b to d823d2f Compare November 8, 2024 13:28
processmanager/ebpf/ebpf_test.go Outdated Show resolved Hide resolved
processmanager/ebpf/ebpf_test.go Show resolved Hide resolved
@danipozo
Copy link

danipozo commented Nov 8, 2024

Missing this (I think) in tools/coredump/ebpfhelpers.go:

--        &C.exe_id_to_20_stack_deltas, &C.exe_id_to_21_stack_deltas:
++        &C.exe_id_to_20_stack_deltas, &C.exe_id_to_21_stack_deltas, &C.exe_id_to_22_stack_deltas,
++        &C.exe_id_to_23_stack_deltas:

Signed-off-by: Florian Lehner <[email protected]>
@florianl
Copy link
Contributor Author

Missing this (I think) in tools/coredump/ebpfhelpers.go:

Good catch 👍 updated the proposed change.

Signed-off-by: Florian Lehner <[email protected]>
Signed-off-by: Florian Lehner <[email protected]>
@rockdaboot rockdaboot force-pushed the flo-increase-stack-deltas branch from d67dd54 to 4479caa Compare November 11, 2024 16:40
@rockdaboot
Copy link
Contributor

Sorry @florianl, I accidentally pushed with --force-with-lease 🫨.

@florianl florianl merged commit 47e8410 into main Nov 12, 2024
44 checks passed
@florianl florianl deleted the flo-increase-stack-deltas branch November 12, 2024 12:57
ltrk2 added a commit to instana/opentelemetry-ebpf-profiler that referenced this pull request Dec 4, 2024
* Fix unwinding at syscall on aarch64 (open-telemetry#218)

* Add PID as an attribute in each sample (open-telemetry#212)

* ebpf: increase number of stack delta buckets (open-telemetry#231)

Signed-off-by: Florian Lehner <[email protected]>

* reporter: use htlhash attribute for profiling specific hash (open-telemetry#236)

Signed-off-by: Florian Lehner <[email protected]>

* reporter: drop fifo (open-telemetry#239)

Signed-off-by: Florian Lehner <[email protected]>

* Drop more unused code (open-telemetry#240)

* reporter: do not add empty attributes (open-telemetry#233)

Signed-off-by: Florian Lehner <[email protected]>

* controller: fix reporter interval mix up with monitor interval (open-telemetry#242)

* Extract reporter runloop (open-telemetry#228)

Co-authored-by: Christos Kalkanis <[email protected]>

* Extract lookupcgroupv2 out of the otlp reporter (open-telemetry#227)

* Add CPU id to trace and trace metadata (open-telemetry#249)

* reporter: don't expire actively used executables (open-telemetry#247)

* Remove legacy code from libpf.UnixTime64 (open-telemetry#252)

* Turn kernel module file parsing errors into warnings (open-telemetry#255)

Co-authored-by: Florian Lehner <[email protected]>

* readatbuf: add missing check when reading from tail chunk (open-telemetry#259)

* metrics: Don't send counters with 0 values (open-telemetry#246)

---------

Signed-off-by: Florian Lehner <[email protected]>
Co-authored-by: umanwizard <[email protected]>
Co-authored-by: Bhavna Jindal <[email protected]>
Co-authored-by: Florian Lehner <[email protected]>
Co-authored-by: Tim Rühsen <[email protected]>
Co-authored-by: Nayef Ghattas <[email protected]>
Co-authored-by: Damien Mathieu <[email protected]>
Co-authored-by: Christos Kalkanis <[email protected]>
Co-authored-by: Tommy Reilly <[email protected]>
Co-authored-by: Joel Höner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to load deltas trying to profile ClickHouse binary
5 participants