Forum Discussion
Altera_Forum
Honored Contributor
8 years agoCan't generate gmon.out with gprof
Hi all, I'm trying to run GPROF on my project (Quartus Prime 18.0). I have added the "enable_gprof" and "enable_exit" flags in the BSP, and I can see it does pass the -pg option when building...
Altera_Forum
Honored Contributor
8 years agoPerfect. Thanks! Just to complement the answer: in my case, where I am using the good old GNU Make and didn't want to modify the makefiles, the "-pg" flag was added to the hold process through the (environment variable) CFLAGS (for the object bluestacks (https://bluestacks.vip/) textnow (https://textnow.vip/) photomath (https://photomath.vip/) generation) and LDFLAGS for the linking stage.