mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
flame-graph: trim off some whispies
This commit is contained in:
@ -269,6 +269,9 @@ sysprof_flame_graph_snapshot (GtkWidget *widget,
|
||||
rect->w / (double)G_MAXUINT16 * width,
|
||||
rect->h);
|
||||
|
||||
if (area.size.width < .25)
|
||||
continue;
|
||||
|
||||
if (!highlight && graphene_rect_contains_point (&area, &point))
|
||||
highlight = rect;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user