From a1fbc64fafa9f2f649be0ff1069ab927a065c0ad Mon Sep 17 00:00:00 2001 From: yangxx Date: Mon, 27 Oct 2003 19:46:32 +0000 Subject: [PATCH] don't generate processes and interrupts files in control directroy git-svn-id: http://ltt.polymtl.ca/svn@322 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/convert/convert.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ltt/branches/poly/ltt/convert/convert.c b/ltt/branches/poly/ltt/convert/convert.c index b996b8b2..ee0687f4 100644 --- a/ltt/branches/poly/ltt/convert/convert.c +++ b/ltt/branches/poly/ltt/convert/convert.c @@ -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; } -- 2.34.1