Is there mcount support in rustc??
Many profiling tools such as gprof and uftrace require mcount function. An user can use -pg option to add a mcount function call at the entry of each function in gcc or clang compiler.
Is there similar way to get same effect of using -pg option?
If there is no way to add the mcount function call, I want to suggest adding mcount support for utilizing existing profiling tools.
Is there mcount support in
rustc??Many profiling tools such as
gprofanduftracerequire mcount function. An user can use-pgoption to add a mcount function call at the entry of each function ingccorclangcompiler.Is there similar way to get same effect of using
-pgoption?If there is no way to add the mcount function call, I want to suggest adding mcount support for utilizing existing profiling tools.