fix: removal of [smp_]read_barrier_depends (v5.9)
[lttng-modules.git] / instrumentation / events / lttng-module / i2c.h
index dd91c9b0f35bc6316c8281c29652446660ea6056..131d1344e54dc57190ef017e75892cb389d06429 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM i2c
 
@@ -22,7 +23,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(i2c_write,
 
        TP_code_pre(
                tp_locvar->extract_sensitive_payload =
-                       READ_ONCE(extract_sensitive_payload);
+                       LTTNG_READ_ONCE(extract_sensitive_payload);
        ),
 
        TP_FIELDS(
@@ -77,7 +78,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(i2c_reply,
 
        TP_code_pre(
                tp_locvar->extract_sensitive_payload =
-                       READ_ONCE(extract_sensitive_payload);
+                       LTTNG_READ_ONCE(extract_sensitive_payload);
        ),
 
        TP_FIELDS(
This page took 0.026581 seconds and 4 git commands to generate.