resourceview: fix new icon errors
[lttv.git] / ltt / branches / poly / lttv / modules / gui / diskperformance / diskperformance.c
index d59d0f3f3e0218cd7982e4e7a76f29db50a3a955..d09da7e65daa55b06a686edd3f19c24decd76b1a 100644 (file)
@@ -27,9 +27,7 @@
 #include <string.h>
 #include <ltt/ltt.h>
 #include <ltt/event.h>
-#include <ltt/type.h>
 #include <ltt/trace.h>
-#include <ltt/facility.h>
 #include <lttv/module.h>
 #include <lttv/hook.h>
 #include <lttv/tracecontext.h>
@@ -44,7 +42,7 @@
 
 #define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
 #define g_debug(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
-#define TRACE_NUMBER 0
+// fixed #define TRACE_NUMBER 0
 #define NO_ITEMS 0
 
 enum{
@@ -436,8 +434,8 @@ static void request_event(DiskPerformanceData *disk_performance)
  
   nb_trace = lttv_traceset_number(traceset);
     
-  for(i = 0; i<MIN(TRACE_NUMBER+1, nb_trace);i++)
-  { 
+  //for(i = 0; i<MIN(TRACE_NUMBER+1, nb_trace);i++) {
+  for(i = 0 ; i < nb_trace ; i++) {
        EventsRequest *events_request = g_new(EventsRequest, 1);
        
        hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook));
This page took 0.023063 seconds and 4 git commands to generate.