How to run dynamic tracking with EFI Secure Boot enabled

Solution Verified - Updated -

Issue

  • When try to run some trace tools such as SystemTap/blktrace/btrace to trace IO in the system will see following errors:
# btrace -w 20 /dev/sda
Thread 0 failed open /sys/kernel/debug/block/sda/trace0: 1/Operation not permitted
Thread 1 failed open /sys/kernel/debug/block/sda/trace1: 1/Operation not permitted
FAILED to start thread on CPU 0: 1/Operation not permitted
FAILED to start thread on CPU 1: 1/Operation not permitted

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • EFI-enabled x86 or arm64 machine

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