Skip to content

mcount support?? #54500

Closed
Closed
@taeguk

Description

@taeguk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions