[memprof] Fix RAII usage of SpinMutexLock, remove unused headers.
For the RAII lock usage we need to create a local var. There were some headers which clang-tidy identified as unused. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D138593
Loading
Please sign in to comment