I am working on TensorFlow and want to know the relationship between each Python function and the corresponding C ++ functions behind the SWIG interface. In other words, I want to know exactly which C ++ functions are called for each line of Python code in my TensorFlow application.
I have already seen how to debug Python code here and how to display in which line of code a segmentation error occurs here , but in this way I can only see where the error is, instead I want to know every call to the C ++ function, even if in there are no errors in the code (at the moment when debugging with gdb I see system calls and calls to the dynamic library, but not calls to C ++ functions).
source share