Issue 99 has been merged into this issue.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #6 on issue 63 by collinw: Get oprofile working on JITted code
http://code.google.com/p/unladen-swallow/issues/detail?id=63
We still need a slight patch to Unladen to make the OProfile support work
well. We also
need to patch up the build system to pass LLVM's full flag set through to
embedding
apps.
Comment #7 on issue 63 by collinw: Get oprofile working on JITted code
http://code.google.com/p/unladen-swallow/issues/detail?id=63
(No comment was entered for this change.)
Comment #9 on issue 63 by collinw: Get oprofile working on JITted code
This was previously blocked on using llvm-config to obtain the necessary
flags; that
support was added in r981.
Basic oprofile support was added in r986:
$ sudo opcontrol --reset
Signalling daemon... done
$ sudo opcontrol --start-daemon; sudo opcontrol --start;
PYTHONPATH=../tests/lib/django/ ./python ../tests/performance/bm_django.py
-n
100; sudo opcontrol --stop
$ opreport -l ./python | less
CPU: Core 2, speed 1600 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
mask
of 0x00 (Unhalted core cycles) count
100000
samples % image name symbol name
79589 4.2329 python PyString_FromFormatV
62971 3.3491 python PyEval_EvalCodeEx
62713 3.3354 python tupledealloc
57071 3.0353 python _PyEval_CallFunction
50009 2.6597 24532.jo #u#force_unicode
47468 2.5246 python PyUnicodeUCS2_Decode
45829 2.4374 python PyFrame_New
45173 2.4025 python lookdict_string
43082 2.2913 python PyType_IsSubtype
39763 2.1148 24532.jo #u#render5
38145 2.0287 python _PyType_Lookup
37643 2.0020 python PyObject_GC_UnTrack
37105 1.9734 python frame_dealloc
36849 1.9598 python PyEval_EvalFrame
35630 1.8950 24532.jo #u#resolve
33313 1.7717 python PyObject_IsInstance
33208 1.7662 python PyDict_GetItem
33168 1.7640 python PyTuple_New
30458 1.6199 python PyCFunction_NewEx
29769 1.5833 python PyObject_Malloc
29710 1.5801 python PyString_FromString
27589 1.4673 python PyObject_Call
27266 1.4501 python vgetargskeywords
26578 1.4135 python PyObject_GenericGetAttr
24585 1.3075 python meth_dealloc
22249 1.1833 python _PyString_Eq
22123 1.1766 python PyObject_CallFunctionObjArgs
22034 1.1719 python PyCFunction_Call
20037 1.0657 python convertsimple
19574 1.0410 24532.jo #u#render2
17984 0.9565 python type_getattro
17503 0.9309 python PyObject_Free
17117 0.9104 python PyObject_GetAttr
17031 0.9058 python recursive_isinstance
16243 0.8639 python PyUnicodeUCS2_DecodeASCII
15946 0.8481 24532.jo #u#escape3
15675 0.8337 python string_hash
15428 0.8205 24532.jo #u#mark_safe
14068 0.7482 python _PyEval_CallFunctionVarKw
13938 0.7413 24532.jo #u#_resolve_lookup
13541 0.7202 24532.jo #u#_dec
13477 0.7168 python listiter_next
12844 0.6831 24532.jo #u#mark_for_escaping
12046 0.6407 24532.jo #u#resolve1
10972 0.5835 python getset_get
9731 0.5175 24532.jo #u#render4
9385 0.4991 24532.jo #u#wrapper
9285 0.4938 python
mark_called_and_maybe_compile(PyCodeObject*, _frame*)
8919 0.4744 python PyImport_ImportModuleLevel
8896 0.4731 python load_next
8587 0.4567 python builtin_isinstance
8515 0.4529 python PyMethod_New
8318 0.4424 python _PyUnicode_New
8228 0.4376 python function_call
8124 0.4321 python instancemethod_dealloc
8085 0.4300 24532.jo #u#escape
7913 0.4209 python PyBool_FromLong