X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fi2c.h;h=131d1344e54dc57190ef017e75892cb389d06429;hb=57ccbfa6a8a79c7b84394c2097efaf7935607aa5;hp=dd91c9b0f35bc6316c8281c29652446660ea6056;hpb=a8f2d0c75c9cc179fc9e7f7ca17ea3b3b3b5af41;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/i2c.h b/instrumentation/events/lttng-module/i2c.h index dd91c9b0..131d1344 100644 --- a/instrumentation/events/lttng-module/i2c.h +++ b/instrumentation/events/lttng-module/i2c.h @@ -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(