From: hanseld <ha...@us...> - 2008-04-28 22:02:57
|
Update of /cvsroot/oprofile/oprofile/libop In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15532/libop Modified Files: op_config.c op_config.h Log Message: JIT support (for profiling Java applications) added Index: op_config.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_config.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -d -r1.1 -r1.2 --- op_config.c 15 Nov 2006 16:33:26 -0000 1.1 +++ op_config.c 28 Apr 2008 21:23:25 -0000 1.2 @@ -6,6 +6,7 @@ * @remark Read the file COPYING * * @author Nathan Tallent + * @Modifications Daniel Hansel */ #include "op_config.h" @@ -23,6 +24,7 @@ char op_samples_dir[PATH_MAX]; char op_samples_current_dir[PATH_MAX]; char op_lock_file[PATH_MAX]; char op_log_file[PATH_MAX]; +char op_pipe_file[PATH_MAX]; char op_dump_status[PATH_MAX]; /* paths in op_config_24.h */ @@ -55,6 +57,9 @@ init_op_config_dirs(char const * session strcpy(op_lock_file, op_session_dir); strcat(op_lock_file, "/lock"); + strcpy(op_pipe_file, op_session_dir); + strcat(op_pipe_file, "/opd_pipe"); + strcpy(op_log_file, op_samples_dir); strcat(op_log_file, "oprofiled.log"); Index: op_config.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_config.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -p -d -r1.22 -r1.23 --- op_config.h 24 Oct 2007 19:00:58 -0000 1.22 +++ op_config.h 28 Apr 2008 21:23:25 -0000 1.23 @@ -9,6 +9,7 @@ * * @author John Levon * @author Philippe Elie + * @Modifications Daniel Hansel */ #ifndef OP_CONFIG_H @@ -35,6 +36,7 @@ extern char op_samples_dir[]; extern char op_samples_current_dir[]; extern char op_lock_file[]; extern char op_log_file[]; +extern char op_pipe_file[]; extern char op_dump_status[]; /* Global directory that stores debug files */ |