X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fstatistics%2Fstatistics.c;h=99e7834120c420a7ec623d7f7bb10ea6937b2b38;hb=d730b5c8b76588740d11bd12c6e85ed26bebdb4e;hp=0af3c08dfdbadec5867112ffa275a05761323d9b;hpb=e025a729300a06b0de77a8c63d7256fed2658ccb;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c index 0af3c08d..99e78341 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c +++ b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c @@ -16,6 +16,10 @@ * MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -181,6 +185,9 @@ static void request_background_data(StatisticViewerData *svd) background_ready_hook); } + } else { + /* ready */ + lttv_hooks_call(background_ready_hook, NULL); } } lttv_hooks_destroy(background_ready_hook); @@ -431,13 +438,14 @@ void show_traceset_stats(StatisticViewerData * statistic_viewer_data) //show stats for all traces for(i = 0 ; i < nb ; i++) { tcs = (LttvTraceStats *)(LTTV_TRACESET_CONTEXT(tscs)->traces[i]); +#if 0 //FIXME desc = ltt_trace_system_description(tcs->parent.parent.t); LttTime start_time = ltt_trace_system_description_trace_start_time(desc); sprintf(trace_str, "Trace on system %s at time %lu.%09lu", ltt_trace_system_description_node_name(desc), start_time.tv_sec, start_time.tv_nsec); - +#endif //0 gtk_tree_store_append (store, &iter, NULL); gtk_tree_store_set (store, &iter,NAME_COLUMN,trace_str,-1); path = gtk_tree_model_get_path(GTK_TREE_MODEL(store), &iter);