Gprof profiling output not appearing in .ros directory
Hi, I'm running a program using ROS Melodic, on Ubuntu 18.04.3 LTS. I'm following the instructions here: http://wiki.ros.org/roslaunch/Tutoria... to try and profile my program using gprof. However, after I launch the nodes using roslaunch, the profiling output does not appear in ~/.ros.
I've added the -pg option to the compilation in the CMakeLists.txt files of all the packages, and I changed the launch files so each node outputs different outputs.
Thanks in advance for the help.
Has anyone else encountered this issue? I am running into the same problem.
Don't hesitate to open a new question for your issue, it may not be the same problem. If you do so, you could add more informations to your question to describe exactly what is your issue, what you tried (with some code examples/launch files) and what didn't work. This may be because of those missing informations that OP hasn't been answered yet.
I am having the same problem.
Please read my previous comment then.
@danniccs It's working for me on ROS Melodic (Ubuntu 18.04). Can you share your launch file? I'd like to see how you're structuring yours since declaring the
GMON_OUT_PREFIX
variable is the only other step needed (in addition to adding the -pg compiler flag).