Lines Matching refs:message
19 static inline bool tracefs_enabled(char **message, bool *fail, bool *umount) in tracefs_enabled() argument
24 *message = ""; in tracefs_enabled()
32 *message = "Tracefs is not installed"; in tracefs_enabled()
41 *message = "Cannot mount tracefs"; in tracefs_enabled()
52 *message = "Cannot access tracefs"; in tracefs_enabled()
60 static inline bool user_events_enabled(char **message, bool *fail, bool *umount) in user_events_enabled() argument
65 *message = ""; in user_events_enabled()
70 *message = "Must be run as root"; in user_events_enabled()
75 if (!tracefs_enabled(message, fail, umount)) in user_events_enabled()
84 *message = "user_events is not installed"; in user_events_enabled()
88 *message = "Cannot access user_events_data"; in user_events_enabled()
98 char *message; \
100 if (!user_events_enabled(&message, &fail, &(umount))) { \
102 TH_LOG("Setup failed due to: %s", message); \
105 SKIP(statement, "Skipping due to: %s", message); \