summaryrefslogtreecommitdiff
path: root/perfprofd/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'perfprofd/config.h')
-rw-r--r--perfprofd/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perfprofd/config.h b/perfprofd/config.h
index 5bb026ec..341e2df3 100644
--- a/perfprofd/config.h
+++ b/perfprofd/config.h
@@ -93,6 +93,9 @@ struct Config {
virtual bool ShouldStopProfiling() {
return false;
}
+
+ // Is profiling enabled?
+ virtual bool IsProfilingEnabled() const = 0;
};
#endif // SYSTEM_EXTRAS_PERFPROFD_CONFIG_H_