Omitting --per-thread
leads to split traces (and other weird behavior)
#236
Labels
bug
Something isn't working
As of #234 (when merged),
--per-thread
will be disabled sometimes even when not running with-multi-thread
. However this means that a single snapshot can contain outdated data if a program switched CPUs. For example see the following traces:The first image at the start zoomed in looks like this:
Both of these have large gaps in time between two parts of the trace because the data was stored in two separate buffers. Additionally the first image also has a decode error with pid of 0, and a cbr event with a unrealistic timestamp and incorrect pid.
Some potential changes could be made here. This issue is just to document this and lead to potential future investigation.
--per-thread
if perf no longer fails to mmap extra events with this flag.--per-thread
.The text was updated successfully, but these errors were encountered: