Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
smbprofile_dump_schedule_timer();
}
+static inline bool smbprofile_active(void)
+{
+ return smbprofile_state.config.do_count;
+}
+
static inline bool smbprofile_dump_pending(void)
{
if (smbprofile_state.internal.te == NULL) {
#define PROFILE_TIMESTAMP(x) (*(x)=(struct timespec){0})
+static inline bool smbprofile_active(void)
+{
+ return false;
+}
+
static inline bool smbprofile_dump_pending(void)
{
return false;