[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-commits
Subject:    [oprof-cvs] CVS: oprofile/libpp callgraph_container.cpp, 1.43,
From:       Maynard Johnson <maynardj () users ! sourceforge ! net>
Date:       2008-05-08 17:17:58
Message-ID: E1Ju9kk-00039N-5p () sc8-pr-cvs3 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/oprofile/oprofile/libpp
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8790/libpp

Modified Files:
	callgraph_container.cpp profile_container.cpp 
Log Message:
Fix for 32-bit opreport to work with 64-bit JIT profile agent

Index: callgraph_container.cpp
===================================================================
RCS file: /cvsroot/oprofile/oprofile/libpp/callgraph_container.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -d -r1.43 -r1.44
--- callgraph_container.cpp	28 Apr 2008 21:23:22 -0000	1.43
+++ callgraph_container.cpp	8 May 2008 17:17:55 -0000	1.44
@@ -135,8 +135,8 @@ public:
 	void caller_sym(symbol_index_t i) {
 		sym = symbol_entry();
 
-		unsigned long start;
-		unsigned long end;
+		unsigned long long start;
+		unsigned long long end;
 		b.get_symbol_range(i, start, end);
 
 		samples.clear();

Index: profile_container.cpp
===================================================================
RCS file: /cvsroot/oprofile/oprofile/libpp/profile_container.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -d -r1.35 -r1.36
--- profile_container.cpp	28 Apr 2008 21:23:22 -0000	1.35
+++ profile_container.cpp	8 May 2008 17:17:55 -0000	1.36
@@ -79,7 +79,7 @@ void profile_container::add(profile_t co
 
 	for (symbol_index_t i = 0; i < abfd.syms.size(); ++i) {
 
-		unsigned long start, end;
+		unsigned long long start = 0, end = 0;
 		symbol_entry symb_entry;
 
 		abfd.get_symbol_range(i, start, end);


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic