2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #undef LTTNG_UST_TRACEPOINT_PROVIDER
8 #define LTTNG_UST_TRACEPOINT_PROVIDER lttng_ust_cyg_profile_fast
10 #if !defined(_TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H
17 #include <lttng/tracepoint.h>
19 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast
, func_entry
,
20 LTTNG_UST_TP_ARGS(void *, func_addr
),
22 ctf_integer_hex(unsigned long, addr
,
23 (unsigned long) func_addr
)
27 LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast
, func_entry
,
28 LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION
)
30 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast
, func_exit
,
31 LTTNG_UST_TP_ARGS(void *, func_addr
),
37 LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast
, func_exit
,
38 LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION
)
40 #endif /* _TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H */
42 #undef LTTNG_UST_TRACEPOINT_INCLUDE
43 #define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile-fast.h"
45 /* This part must be outside ifdef protection */
46 #include <lttng/tracepoint-event.h>