From: Maynard Johnson <maynardj@us...> - 2007-12-20 19:59:40
Update of /cvsroot/oprofile/oprofile
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28542
Update TODO.jit; no ChangeLog
RCS file: /cvsroot/oprofile/oprofile/Attic/TODO.jit,v
retrieving revision 126.96.36.199
retrieving revision 188.8.131.52
diff -u -p -d -r184.108.40.206 -r220.127.116.11
--- TODO.jit 19 Dec 2007 20:12:47 -0000 18.104.22.168
+++ TODO.jit 20 Dec 2007 19:58:07 -0000 22.214.171.124
@@ -59,11 +59,18 @@ o op_write_native_code() must accept one
Perhaps we can use it too for java, filtering native method etc. Actually
we allow a simplified form of this feature by allowing to disable/enable
code dumping but at the whole dump level not on a symbol basis, quite
- possible sufficient.
+ possible sufficient. [mpj: We're backing away from the idea of dumping
+ JIT records without code. Since BFD asymbol type does not include symbol size,
+ the op_bfd technique for determining symbol size relies on knowing the true
+ file size; and if code is not included in the .jo file, we don't have true size.]
o The pipe used for triggering JIT dump conversion should be used for normal
o The way to use the pipe should be made more secure to avoid denial of service
attacks. We have to think about it.
+o Callgraph does not work properly for the .jo files the JIT support creates.
+ See section Chapter 4, sect 2.3.2 "Callgraph and JIT support". Try to figure
+ out a way to correlate an anonymous sample callgraph entry with
+ the .jo file that may exist for the anonymous code.