X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint-rcu.h;h=58de697be88ebb660103be47b3e06dfa8ab35942;hb=1c1968450409b3c159a3000f9e1a968ff1e5f7e8;hp=2898845834beaeaebeebfcf284f49f6f50ac8b1d;hpb=251c9f75028bda8453a048978ec221b70a652153;p=lttng-ust.git diff --git a/include/lttng/tracepoint-rcu.h b/include/lttng/tracepoint-rcu.h index 28988458..58de697b 100644 --- a/include/lttng/tracepoint-rcu.h +++ b/include/lttng/tracepoint-rcu.h @@ -1,11 +1,9 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2011-2012 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT -#ifndef _LTTNG_TRACEPOINT_RCU_H -#define _LTTNG_TRACEPOINT_RCU_H +#ifndef _LTTNG_UST_TRACEPOINT_RCU_H +#define _LTTNG_UST_TRACEPOINT_RCU_H #include #include @@ -29,7 +27,7 @@ URCU_FORCE_CAST(__typeof__(p), \ lttng_ust_tracepoint_dlopen_ptr->rcu_dereference_sym(URCU_FORCE_CAST(void *, p))) -#define LTTNG_UST_TP_RCU_LINK_TEST() (lttng_ust_tracepoint_dlopen_ptr && tp_rcu_read_lock) +#define LTTNG_UST_TP_RCU_LINK_TEST() (lttng_ust_tracepoint_dlopen_ptr && lttng_ust_tp_rcu_read_lock) #endif /* _LGPL_SOURCE */ @@ -40,4 +38,4 @@ #define TP_RCU_LINK_TEST LTTNG_UST_TP_RCU_LINK_TEST #endif -#endif /* _LTTNG_TRACEPOINT_RCU_H */ +#endif /* _LTTNG_UST_TRACEPOINT_RCU_H */