https://pingcap.com/blog-cn/flame-graph/  

因为 TiKV 是自己内部使用了 jemalloc,并没有用系统的 malloc,所以我们不能直接用 perf 来探查系统的 malloc 函数。幸运的是,perf 能支持动态添加探针,我们将 TiKV 的 malloc 加入:

perf probe -x /deploy/bin/tikv-server -a malloc  

相关文章:

  • 2021-08-27
  • 2022-12-23
  • 2021-11-17
  • 2021-08-14
  • 2022-12-23
  • 2021-08-23
  • 2021-07-08
  • 2021-12-17
猜你喜欢
  • 2021-10-07
  • 2022-01-22
  • 2018-03-08
  • 2021-07-24
  • 2021-09-18
  • 2022-12-23
相关资源
相似解决方案