don't generate processes and interrupts files in control directroy
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 27 Oct 2003 19:46:32 +0000 (19:46 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 27 Oct 2003 19:46:32 +0000 (19:46 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@322 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/convert/convert.c

index b996b8b2bffc914e9e3997a2fc2145a45922fd56..ee0687f4564038ad6361a219308f537fbd72c1e6 100644 (file)
@@ -243,7 +243,7 @@ int main(int argc, char ** argv){
     g_error("Unable to open file interrupts\n");
   }
   fdProc = open(foo_control_processes,O_CREAT | O_RDWR | O_TRUNC,S_IRUSR |S_IWUSR | S_IRGRP | S_IROTH);
-  if(fdIntr<0){
+  if(fdProc<0){
     g_error("Unable to open file process\n");
   }
 
@@ -503,8 +503,9 @@ int main(int argc, char ** argv){
          write_pos_proc = buf_proc + block_size - sizeof(uint32_t);
          write_to_buffer(write_pos_intr,(void*)&size_intr, sizeof(uint32_t));
          write_to_buffer(write_pos_proc,(void*)&size_proc, sizeof(uint32_t));
-         write(fdIntr,(void*)buf_intr,block_size);       
-         write(fdProc,(void*)buf_proc,block_size);       
+         //for now don't output processes and interrupt information
+         //      write(fdIntr,(void*)buf_intr,block_size);       
+         //      write(fdProc,(void*)buf_proc,block_size);       
        }
        break;   
       }
This page took 0.024293 seconds and 4 git commands to generate.