Searched refs:raw_trace (Results 1 – 4 of 4) sorted by relevance
169 RawTraceModel& raw_trace = raw_traces[i]; // sorted ascending -> items to delete are first. in DeleteOlderFiles() local172 if (!::android::base::RemoveFileIfExists(raw_trace.file_path, /*out*/&err_msg)) { in DeleteOlderFiles()173 LOG(ERROR) << "Failed to remove raw trace file: " << raw_trace.file_path in DeleteOlderFiles()176 raw_trace.Delete(); in DeleteOlderFiles()177 LOG(DEBUG) << "Deleted raw trace for " << vcn << " at " << raw_trace.file_path; in DeleteOlderFiles()
39 for (db::RawTraceModel raw_trace : raw_traces) { in CleanUpFilesForActivity() local40 std::string file_path = raw_trace.file_path; in CleanUpFilesForActivity()43 raw_trace.Delete(); in CleanUpFilesForActivity()
231 std::optional<db::RawTraceModel> raw_trace = in GetPerfettoTraceInfo() local233 if (!raw_trace) { in GetPerfettoTraceInfo()252 perfetto_traces.push_back({raw_trace->file_path, timestamp_limit, history.pid}); in GetPerfettoTraceInfo()
547 std::optional<db::RawTraceModel> raw_trace = in StartTracing() local550 if (!raw_trace) { in StartTracing()553 LOG(VERBOSE) << "Inserted into db: " << *raw_trace; in StartTracing()