| 519 | |
| 520 | template <typename Mutex> |
| 521 | inline uint64_t hash_mutex_ptr(const Mutex* m) { |
| 522 | return butil::fmix64((uint64_t)m); |
| 523 | } |
| 524 | |
| 525 | // Mark being inside locking so that pthread_mutex calls inside collecting |
| 526 | // code are never sampled, otherwise deadlock may occur. |
no test coverage detected