X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fhealth-internal.hpp;fp=include%2Flttng%2Fhealth-internal.hpp;h=b1dc33047db713aec10181496d8edd83c4dbd6fa;hp=67bdc6a5eeec383b9ce7706b62c6a61d36769c9e;hb=cd9adb8b829564212158943a0d279bb35322ab30;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1 diff --git a/include/lttng/health-internal.hpp b/include/lttng/health-internal.hpp index 67bdc6a5e..b1dc33047 100644 --- a/include/lttng/health-internal.hpp +++ b/include/lttng/health-internal.hpp @@ -70,7 +70,7 @@ extern DECLARE_URCU_TLS(struct health_state, health_state); * blocking state caused by a poll(). If the counter's value is not an even * number (meaning a code execution flow), an LTTNG_ASSERT() is raised. */ -static inline void health_poll_entry(void) +static inline void health_poll_entry() { /* Code MUST be in code execution state which is an even number. */ LTTNG_ASSERT(!(uatomic_read(&URCU_TLS(health_state).current) @@ -84,7 +84,7 @@ static inline void health_poll_entry(void) * If the counter's value is not an odd number (a poll execution), an LTTNG_ASSERT() * is raised. */ -static inline void health_poll_exit(void) +static inline void health_poll_exit() { /* Code MUST be in poll execution state which is an odd number. */ LTTNG_ASSERT(uatomic_read(&URCU_TLS(health_state).current) @@ -97,7 +97,7 @@ static inline void health_poll_exit(void) * Update current counter by 2 indicates progress in execution of a * thread. */ -static inline void health_code_update(void) +static inline void health_code_update() { uatomic_add(&URCU_TLS(health_state).current, HEALTH_CODE_VALUE); } @@ -105,7 +105,7 @@ static inline void health_code_update(void) /* * Set health "error" flag. */ -static inline void health_error(void) +static inline void health_error() { uatomic_or(&URCU_TLS(health_state).flags, HEALTH_ERROR); }