/external/perfetto/src/ftrace_reader/ |
ftrace_procfs_unittest.cc | 43 MockFtraceProcfs ftrace; local 45 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) 47 EXPECT_THAT(ftrace.AvailableClocks(), 50 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) 52 EXPECT_THAT(ftrace.GetClock(), "local"); 54 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) 56 EXPECT_THAT(ftrace.GetClock(), "global"); 58 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) 60 EXPECT_THAT(ftrace.AvailableClocks(), IsEmpty());
|
ftrace_config_muxer_unittest.cc | 127 event.group = "ftrace"; 152 MockFtraceProcfs ftrace; local 156 FtraceConfigMuxer model(&ftrace, table.get()); 158 ON_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) 160 EXPECT_CALL(ftrace, ReadFileIntoString("/root/trace_clock")) 163 EXPECT_CALL(ftrace, ReadOneCharFromFile("/root/tracing_on")) 165 EXPECT_CALL(ftrace, WriteToFile("/root/buffer_size_kb", "512")); 166 EXPECT_CALL(ftrace, WriteToFile("/root/trace_clock", "boot")); 167 EXPECT_CALL(ftrace, WriteToFile("/root/tracing_on", "1")); 168 EXPECT_CALL(ftrace, 189 MockFtraceProcfs ftrace; local 204 NiceMock<MockFtraceProcfs> ftrace; local 235 MockFtraceProcfs ftrace; local [all...] |
proto_translation_table_unittest.cc | 91 EXPECT_EQ(std::string(event->group), "ftrace"); 149 MockFtraceProcfs ftrace; local 153 ON_CALL(ftrace, ReadEventFormat(_, _)).WillByDefault(Return("")); 154 ON_CALL(ftrace, ReadEventFormat("group", "foo")) 169 EXPECT_CALL(ftrace, ReadEventFormat(_, _)).Times(AnyNumber()); 223 auto table = ProtoTranslationTable::Create(&ftrace, std::move(events),
|
end_to_end_integrationtest.cc | 32 #include "perfetto/trace/ftrace/ftrace_event_bundle.pb.h" 33 #include "perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h" 34 #include "perfetto/trace/ftrace/test_bundle_wrapper.pb.h" 35 #include "perfetto/trace/ftrace/test_bundle_wrapper.pbzero.h" 111 std::unique_ptr<FtraceController> ftrace = FtraceController::Create(runner()); local 115 std::unique_ptr<FtraceSink> sink = ftrace->CreateSink(config, this); 145 std::unique_ptr<FtraceController> ftrace = FtraceController::Create(runner()); local 149 std::unique_ptr<FtraceSink> sink = ftrace->CreateSink(config, this);
|
/external/autotest/client/profilers/ftrace/ |
ftrace.py | 11 class ftrace(profiler.profiler): class in inherits:profiler.profiler 13 ftrace profiler for autotest. It builds ftrace from souce and runs 57 Initialize ftrace profiler. 85 Start ftrace profiler 92 output_dir = os.path.join(test.profdir, 'ftrace') 115 Stop ftrace profiler.
|
/external/autotest/client/tests/tracing_microbenchmark/ |
tracers.py | 14 class ftrace(base_tracer.Tracer): class in inherits:base_tracer.Tracer
|
/external/perfetto/tools/ftrace_proto_gen/ |
main.cc | 27 #include "perfetto/trace/ftrace/ftrace_event.pbzero.h" 44 std::string ftrace; local 46 "protos/perfetto/trace/ftrace/ftrace_event.proto", &ftrace)) { 48 "protos/perfetto/trace/ftrace/ftrace_event.proto"); 57 if (stat(("protos/perfetto/trace/ftrace/" + file_name + ".proto").c_str(), 101 std::regex_search(ftrace, match, event_regex);
|
/external/autotest/client/tests/signaltest/src/ |
signaltest.c | 69 static int ftrace = 0; variable 113 if (ftrace) 237 {"ftrace", no_argument, NULL, 'f'},
|
/external/autotest/client/tests/cyclictest/src/ |
cyclictest.c | 87 static int ftrace = 0; variable 224 if (ftrace) 419 {"ftrace", no_argument, NULL, 'f'}, 440 case 'f': ftrace = 1; break;
|