Can I get the python call stack with the linux perf? -
for example,
def test(): print "test"
i used perf record -g -p $pid
, result pyeval_evalframeex
. how can real name "test" or if can not using perf?
you won't able perf, that's built interface linux process model, decode stack frames, etc. it's doing it's supposed telling executing function pyeval_evalframeex. have extended python-specific information able decode python's frame information, isn't going happen. unfortunately haven't found way debug both python , c/c++ modules easily. it's pdb 1 , gdb other.
Comments
Post a Comment