mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +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->w / (double)G_MAXUINT16 * width,
|
||||||
rect->h);
|
rect->h);
|
||||||
|
|
||||||
|
if (area.size.width < .25)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!highlight && graphene_rect_contains_point (&area, &point))
|
if (!highlight && graphene_rect_contains_point (&area, &point))
|
||||||
highlight = rect;
|
highlight = rect;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user