| // Copyright 2026 The Fuchsia Authors | |
| // | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file or at | |
| // https://opensource.org/licenses/MIT | |
| #include <lib/persistent-debuglog.h> | |
| #include <kernel/ffi.h> | |
| // TODO(https://fxbug.dev/537458631): Remove the annotations once cross-language inlining works. | |
| extern "C" FFI_ALWAYS_INLINE void cpp_persistent_dlog_write(const char* ptr, size_t len) { | |
| persistent_dlog_write({ptr, len}); | |
| } |