Searched refs:raw_trace (Results 1 – 4 of 4) sorted by relevance
/external/perfetto/src/trace_processor/ |
D | read_trace_integrationtest.cc | 39 std::vector<uint8_t> raw_trace; in ReadAllData() local 44 raw_trace.insert(raw_trace.end(), buf, buf + rsize); in ReadAllData() 46 return raw_trace; in ReadAllData() 51 std::vector<uint8_t> raw_trace = ReadAllData(f); in TEST() local 54 decompressed.reserve(raw_trace.size()); in TEST() 57 raw_trace.data(), raw_trace.size(), &decompressed); in TEST() 73 std::vector<uint8_t> raw_trace = ReadAllData(f); in TEST() local 77 raw_trace.data(), raw_trace.size(), &decompressed); in TEST() 93 std::vector<uint8_t> raw_trace = ReadAllData(u); in TEST() local 95 ASSERT_EQ(decompressed.size(), raw_trace.size()); in TEST() [all …]
|
/external/perfetto/src/tracing/test/ |
D | api_integrationtest.cc | 447 std::vector<char> raw_trace = tracing_session->ReadTraceBlocking(); in ReadLogMessagesFromTrace() local 448 EXPECT_GE(raw_trace.size(), 0u); in ReadLogMessagesFromTrace() 456 parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadLogMessagesFromTrace() 501 std::vector<char> raw_trace = tracing_session->ReadTraceBlocking(); in ReadSlicesFromTrace() local 502 EXPECT_GE(raw_trace.size(), 0u); in ReadSlicesFromTrace() 512 parsed_trace.ParseFromArray(raw_trace.data(), raw_trace.size())); in ReadSlicesFromTrace() 827 std::vector<char> raw_trace = tracing_session->get()->ReadTraceBlocking(); in TEST_P() local 828 std::string trace(raw_trace.data(), raw_trace.size()); in TEST_P() 859 std::vector<char> raw_trace = tracing_session->get()->ReadTraceBlocking(); in TEST_P() local 860 ASSERT_GE(raw_trace.size(), 0u); in TEST_P() [all …]
|
/external/perfetto/src/tracing/ |
D | tracing.cc | 85 std::vector<char> raw_trace; in ReadTraceBlocking() local 91 ReadTrace([&mutex, &raw_trace, &all_read, &cv](ReadTraceCallbackArgs cb) { in ReadTraceBlocking() 92 raw_trace.insert(raw_trace.end(), cb.data, cb.data + cb.size); in ReadTraceBlocking() 103 return raw_trace; in ReadTraceBlocking()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | proto_trace_parser_unittest.cc | 269 std::unique_ptr<uint8_t[]> raw_trace(new uint8_t[trace_bytes.size()]); in Tokenize() local 270 memcpy(raw_trace.get(), trace_bytes.data(), trace_bytes.size()); in Tokenize() 273 context_.chunk_reader->Parse(std::move(raw_trace), trace_bytes.size()); in Tokenize()
|