I'm trying to understand a program(Moveit!) connected with many other files. The program runs fine without any problem, but I want to know which function(from a different directory) calls the function I'm interested in. Since there are so many directories and functions of the same name, I can't just simply track them easily. So far, I've just tracked the caller function by manually opening all other files. Can I know how to track down the caller function(or file)?
For example, I've attached a code below that which caller function and file location I want to know.
bool ompl_interface::ModelBasedPlanningContext::solve(planning_interface::MotionPlanResponse& res) { ... }