我知道"perf“工具需要与特定linux内核版本相对应的安装。我知道所有的docker映像都运行在相同的linux内核版本中,而不管linux发行版。
我在坞内使用ubuntu16.04,并且已经安装了linux工具-常见的,start perf告诉我,我仍然缺少一些软件包:‘
# perf
/usr/bin/perf: line 32: lsb_release: command not found
WARNING: perf not found for kernel 4.9.12
You may need to install the following packages f
我们正在Ubuntu12.04.3上对我们的node.js应用程序(Nodev.0.10.22)进行分析。它显示了libc-2.15.so占用的巨大CPU。如何确定发生了什么以及如何减少libc的影响?
[Bottom up (heavy) profile]:
Note: percentage shows a share of a particular caller in the total
amount of its parent calls.
Callers occupying less than 2.0% are not shown.
ticks parent n
GDB7.7对我的核心文件显示了更多的回溯(90)。是否存在GDB或核心文件或堆栈损坏问题?
(gdb) bt
Python Exception exceptions.ImportError No module named traceback:
#0 0x00007f422fd04c37 in ?? () from /users/jegan/lib/x86_64-linux-gnu/libc.so.6
#1 0x0000000000002929 in ?? ()
#2 0x7328203c20746e63 in ?? ()
.......................
.......
我从gdb获得以下(无用的)堆栈跟踪
$ gdb -e pqact -c core.6067
GNU gdb (GDB) Fedora (7.2-52.fc14)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRA