Skip to content

[FEATURE] Generate CPU Profile File Alongside Memory Profile & Trace File with profile-mem Flag #6057

@dwisiswant0

Description

@dwisiswant0

Describe your feature request

Same as #5689 but for CPU profile with pprof.StartCPUProfile.

Describe the use case of the feature

To generate PGO file on-demand - #5691

Describe alternatives you've considered

No response

Additional context

Looks like there's a naming issue with the memory profile using the .prof extension. The new design will change it to: .cpu for CPU profiles, .mem for memory (heap) allocs profiles, and .trace will stay the same.

Metadata

Metadata

Assignees

Labels

Type: EnhancementMost issues will probably ask for additions or changes.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions