samply
samply copied to clipboard
Command-line sampling profiler for macOS and Linux
Kernel image entries will have a name of `[kernel.kallsyms]` and a debug path of `/usr/lib/debug/boot/vmlinux-{linux_version}` ([ref](https://github.com/mstange/samply/blob/5bf04b01ff1f564ed20bdc4b60d7baa94cbe03cd/samply/src/linux_shared/converter.rs#L1051)). However, this is ignored by [`get_candidate_paths_for_debug_file`](https://github.com/mstange/samply/blob/5bf04b01ff1f564ed20bdc4b60d7baa94cbe03cd/wholesym/src/helper.rs#L579), as it only tries to open the file...
This PR adds (initial) support for profiling on Windows. It uses the [Event Tracing for Windows](https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/event-tracing-for-windows--etw-) framework to get very fast, low-overhead captures. In order to expedite getting something working,...
After a convo earlier this week, I wonder if folks familiar with the code base here know what would it take to have run samply in-process. At a reduce sample...

I have times where I want to profile a program running on a remote server via SSH. It seems samply assumes that the symbol server is on the machine running...
Running `samply record` on Linux as a non-privileged user on any program results in the following panic: ```log thread '' panicked at 'called `Result::unwrap()` on an `Err` value: Os {...
In programs with very deep recursion `samply` begins producing flamegraphs that are "chopped apart" like in the below picture:  (Link to profile: https://share.firefox.dev/49aeiVw) The majority of these calls are...
Unity has a complex process tree including kicking off a bunch of dotnet processes, that are lunched via `dotnet exec MyProgram.dll`. All of these show up just as `dotnet`, which...
It appears that samply doesn't use a large enough buffer for something. I'm getting hundreds of lines like: ``` Pending lost events: 499 Pending lost events: 6 Pending lost events:...
Overview: This patch adds a field to `FrameDebugInfo` to store the (original) mangled name that has been retrieved during symbolication, and extends `demangle_any` to return the demangling scheme used, as...