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
10 #if !defined(_TRACEPOINT_LTTNG_UST_CYG_PROFILE_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_LTTNG_UST_CYG_PROFILE_H
17 #include <lttng/tracepoint.h>
19 TRACEPOINT_EVENT_CLASS(lttng_ust_cyg_profile
, func_class
,
20 TP_ARGS(void *, func_addr
, void *, call_site
),
22 ctf_integer_hex(unsigned long, addr
,
23 (unsigned long) func_addr
)
24 ctf_integer_hex(unsigned long, call_site
,
25 (unsigned long) call_site
)
29 TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile
, func_class
,
31 TP_ARGS(void *, func_addr
, void *, call_site
)
34 TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile
, func_entry
,
37 TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile
, func_class
,
39 TP_ARGS(void *, func_addr
, void *, call_site
)
42 TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile
, func_exit
,
45 #endif /* _TRACEPOINT_LTTNG_UST_CYG_PROFILE_H */
47 #undef TRACEPOINT_INCLUDE
48 #define TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile.h"
50 /* This part must be outside ifdef protection */
51 #include <lttng/tracepoint-event.h>
This page took 0.036077 seconds and 5 git commands to generate.