libsysprof: apply selection to temporary allocations

This commit is contained in:
Christian Hergert
2020-02-18 19:19:01 -08:00
parent d525f065f4
commit e3cb30e4ee

View File

@ -442,6 +442,10 @@ temp_allocs_worker (Generate *g)
frame_num++;
/* Short-circuit if we don't care about this frame */
if (!sysprof_selection_contains (g->selection, ev->frame.time))
continue;
a.pid = ev->frame.pid;
a.tid = ev->tid;
a.time = ev->frame.time;