perf samples too long, lowering kernel.perf_event_max_sample_rate

Solution Verified - Updated -

Issue

While using perf, the following message appears on kernel's log:

perf samples too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 50000

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content