Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gcov.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_DEBUG_GCOV_H_
13#define ZEPHYR_INCLUDE_DEBUG_GCOV_H_
14
15#if defined(CONFIG_COVERAGE_GCOV) || defined(__DOXYGEN__)
16
28
51void gcov_coverage_dump_tagged(const char *tag);
52
62
70
71#else
72static inline void gcov_coverage_dump(void) { }
73static inline void gcov_coverage_dump_tagged(const char *tag) { (void)tag; }
74static inline void gcov_static_init(void) { }
75
76#endif /* CONFIG_COVERAGE_GCOV */
77
78#endif /* ZEPHYR_INCLUDE_DEBUG_GCOV_H_ */
void gcov_static_init(void)
Initialize the gcov runtime.
void gcov_coverage_semihost(void)
Dump all collected gcov coverage data over semihosting.
void gcov_coverage_dump_tagged(const char *tag)
Dump gcov coverage data tagged with a label.
void gcov_coverage_dump(void)
Dump all collected gcov coverage data.