(
_: Query<ProfQuery>,
_: HeaderMap,
build_info: &'static BuildInfo,
)
| 175 | |
| 176 | #[allow(clippy::unused_async)] |
| 177 | pub async fn handle_get( |
| 178 | _: Query<ProfQuery>, |
| 179 | _: HeaderMap, |
| 180 | build_info: &'static BuildInfo, |
| 181 | ) -> impl IntoResponse { |
| 182 | mz_http_util::template_response(ProfTemplate { |
| 183 | version: build_info.version, |
| 184 | executable: &super::EXECUTABLE, |
| 185 | mem_prof: MemProfilingStatus::Disabled, |
| 186 | ever_symbolized: ever_symbolized(), |
| 187 | }) |
| 188 | } |
| 189 | |
| 190 | #[derive(Deserialize)] |
| 191 | pub struct ProfForm { |
no test coverage detected