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

fix: panic when perf counter could not be initialized #16

Merged
merged 1 commit into from
May 9, 2023

Commits on May 9, 2023

  1. fix: panic when perf counter could not be initialized

    As reported in iopsystems#14, the CPU CPI sampler will panic if the cycles or
    instructions perf counters cannot be initialized.
    
    This PR fixes the bug by returning a Nop sampler if there are
    exceptions during initialization.
    brayniac committed May 9, 2023
    Configuration menu
    Copy the full SHA
    c66f616 View commit details
    Browse the repository at this point in the history