summaryrefslogtreecommitdiff
path: root/src/tracing
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracing')
-rw-r--r--src/tracing/agent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tracing/agent.h b/src/tracing/agent.h
index d7d67ce2de..2e95e38582 100644
--- a/src/tracing/agent.h
+++ b/src/tracing/agent.h
@@ -81,7 +81,9 @@ class Agent {
~Agent();
TracingController* GetTracingController() {
- return tracing_controller_.get();
+ TracingController* controller = tracing_controller_.get();
+ CHECK_NOT_NULL(controller);
+ return controller;
}
enum UseDefaultCategoryMode {