On Tue, 22 Feb 2022 12:31:43 -0500 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote: > static inline bool tracefs_user_event_test(struct tracefs_user_event *event) > { > return event && event->enable[0] != 0; > } I wonder if we need to add: return event && ((volatile char *)event->enable)[0] != 0; to prevent the compiler from optimizing it. -- Steve