aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-09-22 03:47:31 -0400
committerGitHub <[email protected]>2023-09-22 09:47:31 +0200
commit34132b6d936ea4077f8c96d84a00c74496332a4f (patch)
tree865131960ed43e2e9a0db5d2eb80144a204b4969 /src/zencore/include
parentImprovement: Add names to background jobs for easier debugging (#412) (diff)
downloadzen-34132b6d936ea4077f8c96d84a00c74496332a4f.tar.xz
zen-34132b6d936ea4077f8c96d84a00c74496332a4f.zip
add trace command to enable/disable tracing at runtime (#416)
* add trace command to enable/disable tracing at runtime * rework tracing init/start/stop * changelog
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/trace.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zencore/include/zencore/trace.h b/src/zencore/include/zencore/trace.h
index 3bc2f7f02..665df5808 100644
--- a/src/zencore/include/zencore/trace.h
+++ b/src/zencore/include/zencore/trace.h
@@ -25,8 +25,11 @@ enum class TraceType
None
};
-void TraceInit(const char* HostOrPath, TraceType Type);
+void TraceInit();
void TraceShutdown();
+bool IsTracing();
+void TraceStart(const char* HostOrPath, TraceType Type);
+bool TraceStop();
#else