This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# USAGE: dotnet-mapgen [-h] {generate,merge} PID | |
# | |
# In generate mode, this tool reads the /tmp/perfinfo-PID.map file generated | |
# by the CLR when running with COMPlus_PerfMapEnabled=1, and finds all load | |
# events for managed assemblies. For each managed assembly found in this way, | |
# the tool runs crossgen to generate a symbol mapping file (akin to debuginfo). | |
# | |
# In merge mode, this tool finds the load address of each managed assembly in |