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

posted @ 2021-11-28 18:34  司空亦墨  阅读(966)  评论(1编辑  收藏  举报