Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profiler: add CPUProfileRate option #1243

Merged
merged 3 commits into from
Apr 13, 2022
Merged

Commits on Apr 12, 2022

  1. profiler: add CPUProfileRate option

    If a user wants to use a CPU profiling rate other than the default, they
    would need to be able to set the rate before each round of profiling to
    avoid having their rate overridden by runtime/pprof.StartCPUProfile
    after the first round. This is currently not possible, so add an option
    that we can use internally to set the rate each time.
    
    Using this option will cause a spurious warning every time profiling
    starts. The warning is annoying, but setting the rate will work as
    intended.
    
    Fixes #1242
    nsrip-dd committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    e2a8408 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a20c3c View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Configuration menu
    Copy the full SHA
    246c879 View commit details
    Browse the repository at this point in the history