DPDK 21.11.9
rte_trace.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2020 Marvell International Ltd.
3 */
4
5#ifndef _RTE_TRACE_H_
6#define _RTE_TRACE_H_
7
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <stdbool.h>
24#include <stdio.h>
25
26#include <rte_common.h>
27#include <rte_compat.h>
28
35__rte_experimental
37
52};
53
60__rte_experimental
62
69__rte_experimental
71
84__rte_experimental
85int rte_trace_pattern(const char *pattern, bool enable);
86
100__rte_experimental
101int rte_trace_regexp(const char *regex, bool enable);
102
113__rte_experimental
115
125__rte_experimental
127
134__rte_experimental
135void rte_trace_dump(FILE *f);
136
137#ifdef __cplusplus
138}
139#endif
140
141#endif /* _RTE_TRACE_H_ */
__rte_experimental int rte_trace_metadata_dump(FILE *f)
rte_trace_mode
Definition: rte_trace.h:41
@ RTE_TRACE_MODE_OVERWRITE
Definition: rte_trace.h:46
@ RTE_TRACE_MODE_DISCARD
Definition: rte_trace.h:51
__rte_experimental int rte_trace_pattern(const char *pattern, bool enable)
__rte_experimental int rte_trace_regexp(const char *regex, bool enable)
__rte_experimental bool rte_trace_is_enabled(void)
__rte_experimental void rte_trace_dump(FILE *f)
__rte_experimental void rte_trace_mode_set(enum rte_trace_mode mode)
__rte_experimental int rte_trace_save(void)
__rte_experimental enum rte_trace_mode rte_trace_mode_get(void)