X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fi2c.h;h=dd91c9b0f35bc6316c8281c29652446660ea6056;hp=4088b60ef8e7cdc6e7c69a2c4a2e9d8aef8f3190;hb=acb98454d574a5d7a5b7508978858e9bf6981758;hpb=f144f72a82816c2a4fd911108b1ec7a89c20b517 diff --git a/instrumentation/events/lttng-module/i2c.h b/instrumentation/events/lttng-module/i2c.h index 4088b60e..dd91c9b0 100644 --- a/instrumentation/events/lttng-module/i2c.h +++ b/instrumentation/events/lttng-module/i2c.h @@ -22,7 +22,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(i2c_write, TP_code_pre( tp_locvar->extract_sensitive_payload = - ACCESS_ONCE(extract_sensitive_payload); + READ_ONCE(extract_sensitive_payload); ), TP_FIELDS( @@ -77,7 +77,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(i2c_reply, TP_code_pre( tp_locvar->extract_sensitive_payload = - ACCESS_ONCE(extract_sensitive_payload); + READ_ONCE(extract_sensitive_payload); ), TP_FIELDS(