gdb hello
list
run
set disassembly-flavor intel
disassemble main
break main
info registers
/usr/bin/valgrind --tool=callgrind --dump-instr=yes /home/lxm/Documents/Code/redis-study/cmake-build-debug/redis_study kcachegrind callgrind.out.286469
Detect memory leak: https://stackoverflow.com/questions/5134891/how-do-i-use-valgrind-to-find-memory-leaks
http://highscalability.com/blog/2014/9/8/how-twitter-uses-redis-to-scale-105tb-ram-39mm-qps-10000-ins.html