Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db7f7911 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add logging when starting a trace iteration while one is already in progress" into main

parents 64fe0513 d55d20a2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -96,6 +96,9 @@ jobject PerfettoDataSource::newInstance(JNIEnv* env, void* ds_config, size_t ds_

bool PerfettoDataSource::TraceIterateBegin() {
    if (gInIteration) {
        ALOG(LOG_ERROR, LOG_TAG,
              "Tried calling TraceIterateBegin with an already active iterator for datasource %s.",
              dataSourceName.c_str());
        return false;
    }