- Install package
libstdc++6
(Ubuntu 16.04) - Add following to
~/.gdbinit
python
import sys
sys.path.insert(0, '/usr/share/gcc-9/python')
from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (None)
end
# | |
# STL GDB evaluators/views/utilities - 1.03 | |
# | |
# The new GDB commands: | |
# are entirely non instrumental | |
# do not depend on any "inline"(s) - e.g. size(), [], etc | |
# are extremely tolerant to debugger settings | |
# | |
# This file should be "included" in .gdbinit as following: | |
# source stl-views.gdb or just paste it into your .gdbinit file |
From bmc Mon Oct 2 15:12:34 2000 | |
Subject: Undergrad systems curriculum | |
To: faculty@cs.cornell.edu | |
Date: Mon, 2 Oct 2000 15:12:34 -0700 (PDT) | |
X-Mailer: ELM [version 2.4ME+ PL31H (25)] | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=US-ASCII | |
Content-Transfer-Encoding: 7bit | |
Content-Length: 4065 | |
Status: RO |
libstdc++6
(Ubuntu 16.04)~/.gdbinit
python
import sys
sys.path.insert(0, '/usr/share/gcc-9/python')
from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (None)
end
yum install perf
.~/Documents/linux-perf-5.11-with-separate_debuginfo_unwind_fix
# see https://github.com/gitpod-io/gitpod/issues/8893 | |
sudo apt install -y bison flex libelf-dev libnewt-dev libdw-dev libaudit-dev libiberty-dev libunwind-dev libcap-dev libzstd-dev libnuma-dev libssl-dev python3-dev python3-setuptools binutils-dev gcc-multilib liblzma-dev systemtap-sdt-dev | |
# you _may_ need asciidoc, too; that's quite a big one | |
cd /workspace | |
git clone --depth 1 --filter=blob:none --sparse git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git | |
cd linux | |
git sparse-checkout set dir tools scripts | |
git fetch --depth 1 origin v5.15 | |
make -C tools/perf |