blob: d723a10e53d788f03fbfaeda4309b4cc6cb01848 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_LIB_TRACE_RUST_TEST_LIB_H_
#define SRC_LIB_TRACE_RUST_TEST_LIB_H_
#include <cstdint>
extern "C" {
bool rs_test_trace_enabled(void);
bool rs_test_category_disabled(void);
bool rs_test_category_enabled(void);
void rs_test_counter_macro(void);
void rs_test_instant_macro(void);
void rs_test_duration_macro(void);
void rs_test_duration_macro_with_scope(void);
void rs_test_duration_begin_end_macros(void);
void rs_test_blob_macro(void);
void rs_test_flow_begin_step_end_macros(void);
void rs_test_arglimit(void);
void rs_test_async_event_with_scope(void);
void rs_test_alert();
void rs_test_trace_future_enabled();
void rs_test_trace_future_enabled_with_arg();
void rs_test_trace_future_disabled();
void rs_test_trace_future_disabled_with_arg();
uint8_t rs_check_trace_state();
void rs_wait_trace_state_is(uint32_t expected);
void rs_setup_trace_observer();
}
#endif // SRC_LIB_TRACE_RUST_TEST_LIB_H_