iovisor / bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bps tool is installed to wrong location

dvzrv opened this issue Β· comments

Hi! πŸ‘‹

I'm currently cleaning up and rebuilding the bcc package for Arch Linux.

I noticed that the bps tool is installed by default

option(INSTALL_INTROSPECTION "Install BPF introspection tools" ON)

but to the wrong/ hardcoded location:

install (TARGETS bps DESTINATION share/bcc/introspection)

According to FHS the /usr/share/ location is for

Architecture-independent (shared) data.

As bps is a binary, it is architecture-dependent and should be installed to /usr/bin/ instead as it is for

Non-essential command binaries (not needed in single-user mode); for all users.

Is there a particular reason why the bps executable is installed to this location?