perf command fails to record ftrace data.

Solution Verified - Updated -

Issue

  • perf ftrace command with record option fails to save its result to per-cpu files and a perf.header file in the perf.data.dir.
# perf ftrace record sleep 10

# ls | wc
      0       0       0

Environment

  • Red Hat Enterprise Linux 8
  • perf

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