How to remove programs pinned to a file with the bpftool utility?

Solution Verified - Updated -

Issue

  • The bpftool documentation for the prog option documents how to pin a program to a file but not how to remove the pinned program.
  • This causes the bpftool to continue to list pinned programs even though they are no longer loaded.

Environment

  • Red Hat Enterprise Linux 8
  • bpftool

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