- 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
## Install perf in docker container | |
### ubuntu 18.4 | |
### kernel 4.14.173-137.229.amzn2.x86_64 | |
docker exec -it {containerid} sh | |
wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.173.tar.xz && tar -xf ./linux-4.14.173.tar.xz && cd linux-4.14.173/tools/perf/ && apt -y install flex bison && make -C . && make install | |
./perf | |
./perf list | |
./perf bench mem all |
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
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |