| * Copyright (c) 2018 Oticon A/S |
| * Copyright (c) 2023 Nordic Semiconductor ASA |
| * SPDX-License-Identifier: Apache-2.0 |
| void *tracing_backend_posix_init_bottom(const char *file_name) |
| f = fopen(file_name, "wb"); |
| nsi_print_error_and_exit("%s: Could not open CTF backend file %s\n", |
| void tracing_backend_posix_output_bottom(const void *data, unsigned long length, void *out_stream) |
| int rc = fwrite(data, length, 1, (FILE *)out_stream); |
| nsi_print_warning("%s: Failure writing to CTF backend file\n", __func__); |
| fflush((FILE *)out_stream); |