| 242 | } |
| 243 | |
| 244 | static void PrintEnabledProfilers(std::ostream& os, void*) { |
| 245 | if (cpu_profiler_enabled) { |
| 246 | os << "cpu "; |
| 247 | } |
| 248 | if (IsHeapProfilerEnabled()) { |
| 249 | if (has_TCMALLOC_SAMPLE_PARAMETER()) { |
| 250 | os << "heap "; |
| 251 | } else { |
| 252 | os << "heap(no TCMALLOC_SAMPLE_PARAMETER in env) "; |
| 253 | } |
| 254 | } |
| 255 | os << "contention"; |
| 256 | } |
| 257 | |
| 258 | static bvar::PassiveStatus<std::string> s_lb_st( |
| 259 | "rpc_load_balancer", PrintSupportedLB, NULL); |
nothing calls this directly
no test coverage detected