pahole安装(编译)

Pahole

Poke-a-hole

Poke-a-hole (pahole) is an object-file analysis tool to find the size of the
data structures, and the holes caused due to aligning the data elements to the
word-size of the CPU by the compiler.

INSTALLATION

  1. git clone https://git.kernel.org/pub/scm/devel/pahole/pahole.git
  2. cd pahole
  3. mkcd build
  4. cmake -D__LIB=lib ..
  5. sudo make install

REFERENCES

原文地址:https://www.cnblogs.com/sonnet/p/15616095.html