Lines Matching refs:store
97 static void perf_gtk__add_callchain_flat(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain_flat() argument
119 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat()
122 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_flat()
125 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat()
140 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_flat()
143 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_flat()
146 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat()
160 static void perf_gtk__add_callchain_folded(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain_folded() argument
209 gtk_tree_store_append(store, &iter, parent); in perf_gtk__add_callchain_folded()
212 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_folded()
214 gtk_tree_store_set(store, &iter, col, str, -1); in perf_gtk__add_callchain_folded()
220 static void perf_gtk__add_callchain_graph(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain_graph() argument
241 gtk_tree_store_append(store, &iter, &new_parent); in perf_gtk__add_callchain_graph()
244 gtk_tree_store_set(store, &iter, 0, buf, -1); in perf_gtk__add_callchain_graph()
247 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_graph()
265 perf_gtk__add_callchain_graph(&node->rb_root, store, &iter, col, in perf_gtk__add_callchain_graph()
270 static void perf_gtk__add_callchain(struct rb_root *root, GtkTreeStore *store, in perf_gtk__add_callchain() argument
274 perf_gtk__add_callchain_flat(root, store, parent, col, total); in perf_gtk__add_callchain()
276 perf_gtk__add_callchain_folded(root, store, parent, col, total); in perf_gtk__add_callchain()
278 perf_gtk__add_callchain_graph(root, store, parent, col, total); in perf_gtk__add_callchain()
299 GtkTreeStore *store; in perf_gtk__show_hists() local
317 store = gtk_tree_store_newv(nr_cols, col_types); in perf_gtk__show_hists()
354 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__show_hists()
356 g_object_unref(GTK_TREE_MODEL(store)); in perf_gtk__show_hists()
371 gtk_tree_store_append(store, &iter, NULL); in perf_gtk__show_hists()
384 gtk_tree_store_set(store, &iter, col_idx++, s, -1); in perf_gtk__show_hists()
393 perf_gtk__add_callchain(&h->sorted_chain, store, &iter, in perf_gtk__show_hists()
407 GtkTreeStore *store, in perf_gtk__add_hierarchy_entries() argument
433 gtk_tree_store_append(store, &iter, parent); in perf_gtk__add_hierarchy_entries()
446 gtk_tree_store_set(store, &iter, col_idx++, hpp->buf, -1); in perf_gtk__add_hierarchy_entries()
463 gtk_tree_store_set(store, &iter, col_idx, strim(bf), -1); in perf_gtk__add_hierarchy_entries()
470 store, &iter, hpp, in perf_gtk__add_hierarchy_entries()
480 gtk_tree_store_append(store, &child, &iter); in perf_gtk__add_hierarchy_entries()
481 gtk_tree_store_set(store, &child, col_idx, buf, -1); in perf_gtk__add_hierarchy_entries()
490 perf_gtk__add_callchain(&he->sorted_chain, store, &iter, in perf_gtk__add_hierarchy_entries()
504 GtkTreeStore *store; in perf_gtk__show_hierarchy() local
525 store = gtk_tree_store_newv(nr_cols, col_types); in perf_gtk__show_hierarchy()
580 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__show_hierarchy()
581 g_object_unref(GTK_TREE_MODEL(store)); in perf_gtk__show_hierarchy()
583 perf_gtk__add_hierarchy_entries(hists, &hists->entries, store, in perf_gtk__show_hierarchy()