1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

Profiler: Don't include signposts in the samples list

This commit is contained in:
Andreas Kling 2021-08-13 22:26:26 +02:00
parent 2da817615e
commit 3cc5308ddc

View file

@ -105,6 +105,9 @@ void Profile::rebuild_tree()
if (!process_filter_contains(event.pid, event.serial))
continue;
if (event.data.has<Event::SignpostData>())
continue;
m_filtered_event_indices.append(event_index);
if (auto* malloc_data = event.data.get_pointer<Event::MallocData>(); malloc_data && !live_allocations.contains(malloc_data->ptr))