Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnonymizeTrace ¶
AnonymizeTrace reads a runtime/trace file from r and writes an obfuscated version of it to w. The obfuscation is done by replacing all references to file paths and packages not found Go's standard library with obfuscated versions. The obfuscation is done by replacing all letters that need obfuscation with "XXX". Additionally it keeps any ".go" suffixes and special GC strings intact. For file paths ending in a stdlib package name, only the prefix of the path is obfuscated. On success AnonymizeTrace returns nil. If an error occurs, AnonymizeTrace returns the error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.