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

Support for userspace tracepoints #5193

Open
Mic92 opened this issue Aug 29, 2021 · 1 comment
Open

Support for userspace tracepoints #5193

Mic92 opened this issue Aug 29, 2021 · 1 comment

Comments

@Mic92
Copy link
Member

Mic92 commented Aug 29, 2021

Is your feature request related to a problem? Please describe.

Right now our flamegraphs has a significant performance impact and also only show nix code samples.

Describe the solution you'd like

On systems with eBPF or dtrace we can leverage userspace tracepoints. This allows to profile both C++/Nix stack samples at the same time with little overhead. In particular nix would provide an API for the kernel to expose the current nix function stack that is executed. Python, PHP and java provide similar probes. Also read this article for more information: https://lwn.net/Articles/753601/

Describe alternatives you've considered

Right now we can only profile nix code with high overhead or we can profile the c++ code base while missing out on the information what nix code is currently running.

@stale
Copy link

stale bot commented Apr 16, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Apr 16, 2022
@stale stale bot removed the stale label Dec 5, 2022
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

No branches or pull requests

2 participants