X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fstatistics%2Fstatistics.c;h=d1726c0003639e6b05d34864badadb320d0217ad;hb=0c56e138e63986d8a8c0d7fc3e2c7230a020289e;hp=101f83e942a51148640f3bae8d89da599d3e3a66;hpb=08b1c66e3a5ad9588d08f9477af98c0cda4f070c;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 101f83e9..d1726c00 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c +++ b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c @@ -22,10 +22,10 @@ #include #include -#include -#include +#include +#include #include -#include +#include #include #include @@ -36,7 +36,7 @@ #include -#include "../icons/hGuiStatisticInsert.xpm" +#include "hGuiStatisticInsert.xpm" #define PATH_LENGTH 256 /* CHECK */ @@ -277,8 +277,8 @@ gui_statistic(MainWindow *parent_window, LttvTracesetSelector * s, char* key) &statistic_viewer_data->time_span); if(statistic_viewer_data->calculate_stats){ - if(lttv_stats_load_statistics(statistic_viewer_data->stats)) - statistic_viewer_data->calculate_stats = FALSE; + //if(lttv_stats_load_statistics(statistic_viewer_data->stats)) + // statistic_viewer_data->calculate_stats = FALSE; } if(statistic_viewer_data->calculate_stats == FALSE){ @@ -528,7 +528,7 @@ gboolean statistic_show_viewer(void * hook_data, void * call_data) show_traceset_stats(statistic_viewer_data); if(statistic_viewer_data->calculate_stats){ statistic_remove_context_hooks(statistic_viewer_data,tsc); - lttv_stats_save_statistics((LttvTracesetStats*)tsc); + //lttv_stats_save_statistics((LttvTracesetStats*)tsc); } }