From: hanseld <ha...@us...> - 2008-01-22 22:56:26
|
Update of /cvsroot/oprofile/oprofile/libopagent In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv600/libopagent Modified Files: Tag: JIT_SUPPORT jitdump.h opagent.c Log Message: Style fixups for JIT support dependent files Index: jitdump.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libopagent/Attic/jitdump.h,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -p -d -r1.1.2.8 -r1.1.2.9 --- jitdump.h 16 Jan 2008 15:42:42 -0000 1.1.2.8 +++ jitdump.h 22 Jan 2008 22:56:28 -0000 1.1.2.9 @@ -31,8 +31,10 @@ #define JITHEADER_VERSION 1 struct jitheader { - u32 magic; /* characters "jItO" */ - u32 version; /* version of the dump */ + /* characters "jItO" */ + u32 magic; + /* version of the dump */ + u32 version; u32 totalsize; u32 bfd_arch; u32 bfd_mach; Index: opagent.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libopagent/Attic/opagent.c,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -p -d -r1.1.2.3 -r1.1.2.4 --- opagent.c 16 Jan 2008 15:42:42 -0000 1.1.2.3 +++ opagent.c 22 Jan 2008 22:56:28 -0000 1.1.2.4 @@ -207,7 +207,7 @@ int op_write_native_code(op_agent_t hdl, if (fwrite_unlocked(&rec, sizeof(rec), 1, dumpfile) && fwrite_unlocked(symbol_name, sz_symb_name, 1, dumpfile)) { if (code) - fwrite_unlocked(code, size, 1, dumpfile); + fwrite_unlocked(code, size, 1, dumpfile); if (padding_count) fwrite_unlocked(pad_bytes, padding_count, 1, dumpfile); /* Always flush to ensure conversion code to elf will see |