Skip to content

Keycode

More flesh, less fluff.

Tag: TCMalloc

How to check “gperftools” version based on “tcmalloc” library?

strings <path>/libtcmalloc.so | grep -i "gperftools"

or

grep -ao "gperftools [0-9.]*" <path>/libtcmalloc.so

-a: forces it to read the binary as text.
-o: tells it to only print the matching version string instead of dumping a massive wall of corrupted binary text into your terminal.

Author pashanhuPosted on 04/07/2026Categories C/C++, OtherTags C++, gperftools, TCMallocLeave a comment on How to check “gperftools” version based on “tcmalloc” library?

Recent Posts

  • How to check “gperftools” version based on “tcmalloc” library?
  • How to check the root cause of the difference between “pytest” and “python -m pytest”?
  • Null response caused by an extra space
  • Use getrusage() to check memory usage
  • unittest setUp vs. pytest setup_class

Recent Comments

No comments to show.
  • July 2026
  • March 2026
  • December 2025
  • October 2025
  • August 2025
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • August 2021
  • November 2020
  • October 2020
  • June 2020
  • May 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • Algorithm
  • AWS
  • Boost
  • C/C++
  • Debug
  • git
  • GitHub
  • GTest
  • Image/Graphics
  • Java
  • Linux
  • Node.js
  • Other
  • Python
  • Qt
  • Swift
  • Unreal Engine
Keycode Proudly powered by WordPress