2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #undef TRACEPOINT_PROVIDER
8 #define TRACEPOINT_PROVIDER lttng_ust_cyg_profile_fast
10 #if !defined(_TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H
17 #include <lttng/tracepoint.h>
19 TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast
, func_entry
,
20 TP_ARGS(void *, func_addr
),
22 ctf_integer_hex(unsigned long, addr
,
23 (unsigned long) func_addr
)
27 TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast
, func_entry
,
30 TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast
, func_exit
,
31 TP_ARGS(void *, func_addr
),
35 TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast
, func_exit
,
38 #endif /* _TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H */
40 #undef TRACEPOINT_INCLUDE
41 #define TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile-fast.h"
43 /* This part must be outside ifdef protection */
44 #include <lttng/tracepoint-event.h>