aboutsummaryrefslogtreecommitdiff
path: root/include/perfetto/ext/tracing/core/consumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/perfetto/ext/tracing/core/consumer.h')
-rw-r--r--include/perfetto/ext/tracing/core/consumer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/perfetto/ext/tracing/core/consumer.h b/include/perfetto/ext/tracing/core/consumer.h
index fce7c6531..0cbd158f3 100644
--- a/include/perfetto/ext/tracing/core/consumer.h
+++ b/include/perfetto/ext/tracing/core/consumer.h
@@ -47,9 +47,8 @@ class PERFETTO_EXPORT Consumer {
// - The consumer explicitly called DisableTracing()
// - The TraceConfig's |duration_ms| has been reached.
// - The TraceConfig's |max_file_size_bytes| has been reached.
- // - An error occurred while trying to enable tracing. In this case |error|
- // is non-empty.
- virtual void OnTracingDisabled(const std::string& error) = 0;
+ // - An error occurred while trying to enable tracing.
+ virtual void OnTracingDisabled() = 0;
// Called back by the Service (or transport layer) after invoking
// TracingService::ConsumerEndpoint::ReadBuffers(). This function can be