2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2013 Mentor Graphics
7 #undef TRACEPOINT_PROVIDER
8 #define TRACEPOINT_PROVIDER lttng_ust_pthread
10 #if !defined(_TRACEPOINT_UST_PTHREAD_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_PTHREAD_H
17 #include <lttng/tracepoint.h>
19 TRACEPOINT_EVENT(lttng_ust_pthread
, pthread_mutex_lock_req
,
20 TP_ARGS(pthread_mutex_t
*, mutex
, void *, ip
),
22 ctf_integer_hex(void *, mutex
, mutex
)
26 TRACEPOINT_EVENT(lttng_ust_pthread
, pthread_mutex_lock_acq
,
27 TP_ARGS(pthread_mutex_t
*, mutex
, int, status
, void *, ip
),
29 ctf_integer_hex(void *, mutex
, mutex
)
30 ctf_integer(int, status
, status
)
34 TRACEPOINT_EVENT(lttng_ust_pthread
, pthread_mutex_trylock
,
35 TP_ARGS(pthread_mutex_t
*, mutex
, int, status
, void *, ip
),
37 ctf_integer_hex(void *, mutex
, mutex
)
38 ctf_integer(int, status
, status
)
42 TRACEPOINT_EVENT(lttng_ust_pthread
, pthread_mutex_unlock
,
43 TP_ARGS(pthread_mutex_t
*, mutex
, int, status
, void *, ip
),
45 ctf_integer_hex(void *, mutex
, mutex
)
46 ctf_integer(int, status
, status
)
50 #endif /* _TRACEPOINT_UST_PTHREAD_H */
52 #undef TRACEPOINT_INCLUDE
53 #define TRACEPOINT_INCLUDE "./ust_pthread.h"
55 /* This part must be outside ifdef protection */
56 #include <lttng/tracepoint-event.h>
This page took 0.029808 seconds and 4 git commands to generate.