36 #ifdef HAVE_PSI_STAGE_INTERFACE
37 #define mysql_stage_register(P1, P2, P3) \
38 inline_mysql_stage_register(P1, P2, P3)
40 #define mysql_stage_register(P1, P2, P3) \
44 #ifdef HAVE_PSI_STAGE_INTERFACE
45 #define MYSQL_SET_STAGE(K, F, L) \
46 inline_mysql_set_stage(K, F, L)
48 #define MYSQL_SET_STAGE(K, F, L) \
52 #ifdef HAVE_PSI_STAGE_INTERFACE
53 static inline void inline_mysql_stage_register(
56 PSI_STAGE_CALL(register_stage)(category, info, count);
60 #ifdef HAVE_PSI_STAGE_INTERFACE
62 inline_mysql_set_stage(PSI_stage_key key,
63 const char *src_file,
int src_line)
65 PSI_STAGE_CALL(start_stage)(key, src_file, src_line);