You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This was a legitimate issue that shouldn't have been closed. mcount support got added in #57220.
@taeguk For better reception in the future, instead of "mcount support??", confidently write, "Support mcount". This was a feature that should be supported which rustc lacked. No need to be shy about that.
Is there mcount support in
rustc
??Many profiling tools such as
gprof
anduftrace
require mcount function. An user can use-pg
option to add a mcount function call at the entry of each function ingcc
orclang
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.
The text was updated successfully, but these errors were encountered: