| 207 | } |
| 208 | |
| 209 | Result<std::string> jemalloc_stats_string(const char* opts) { |
| 210 | std::string stats; |
| 211 | auto write_cb = [&stats](const char* str) { stats.append(str); }; |
| 212 | ARROW_UNUSED(jemalloc_stats_print(write_cb, opts)); |
| 213 | return stats; |
| 214 | } |
| 215 | |
| 216 | Status jemalloc_stats_print(const char* opts) { |
| 217 | malloc_stats_print(nullptr, nullptr, opts); |
nothing calls this directly
no test coverage detected