CppCon 2017: Kenny Yu “End-to-end Deadlock Debugging Tools at Facebook”

preview_player
Показать описание

Facebook has developed tooling to help quickly find and debug several classes of concurrency bugs in Facebook's large C++ codebase. In this talk, we will focus specifically on deadlocks and the tools we use to detect and prevent them. We will explore the various tools we use — some open source tools we have deployed and some we have developed — and how they work by walking through several examples of real-world bugs found by these tools in Facebook's large production systems.

Topics include:
* How we deploy and utilize ThreadSanitizer on Facebook's large codebase
* Linux eBPF tools to detect potential deadlocks on running binaries
* gdb extensions to examine mutex internals to detect deadlocks
* folly::Synchronized and other libraries that make it more difficult to introduce concurrency bugs

Kenny Yu: Facebook, Software Engineer

Kenny Yu is a software engineer at Facebook. In his time there, he has focused on improving testing and developer experience for engineers at Facebook, working on things such as debugging tools and concurrency bug-finders. He currently works on Facebook's cluster manager and container deployment platform.


*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

The "BPF" meme... golden :D
very good lecture - both presentation and content!

TheThirdAttractor