Commit 8e6c7c10 authored by Ell's avatar Ell

tools: in performance-log-viewer.py, allow sorting profile by function name

In the performance-log viewer's profile view, allow sorting the
call-graph tree-views by function name, in addition to the
inclusive/exclusive frequencies.

(cherry picked from commit 4664fa73fb0fc4bcc6c6329d4b0b1005d7aa2e18)
parent 20420b33
......@@ -2570,6 +2570,7 @@ class ProfileViewer (Gtk.ScrolledWindow):
col = Gtk.TreeViewColumn (title = "Function")
tree.append_column (col)
col.set_resizable (True)
col.set_sort_column_id (store.FUNCTION)
cell = Gtk.CellRendererText (ellipsize = Pango.EllipsizeMode.END)
col.pack_start (cell, True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment