Home
last modified time | relevance | path

Searched refs:InferFtraceType (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table_unittest.cc316 TEST(TranslationTableTest, InferFtraceType) { in TEST() argument
319 ASSERT_TRUE(InferFtraceType("char foo[16]", 16, false, &type)); in TEST()
322 ASSERT_TRUE(InferFtraceType("char[] foo", 8, false, &type)); in TEST()
325 ASSERT_TRUE(InferFtraceType("char * foo", 8, false, &type)); in TEST()
328 ASSERT_TRUE(InferFtraceType("char foo[64]", 64, false, &type)); in TEST()
331 ASSERT_TRUE(InferFtraceType("u32 foo", 4, false, &type)); in TEST()
334 ASSERT_TRUE(InferFtraceType("i_ino foo", 4, false, &type)); in TEST()
337 ASSERT_TRUE(InferFtraceType("i_ino foo", 8, false, &type)); in TEST()
340 ASSERT_TRUE(InferFtraceType("ino_t foo", 4, false, &type)); in TEST()
343 ASSERT_TRUE(InferFtraceType("ino_t foo", 8, false, &type)); in TEST()
[all …]
Dproto_translation_table.cc125 if (!InferFtraceType(ftrace_field.type_and_name, ftrace_field.size, in MergeFieldInfo()
255 bool InferFtraceType(const std::string& type_and_name, in InferFtraceType() function
559 if (!InferFtraceType(ftrace_field.type_and_name, ftrace_field.size, in CreateGenericEventField()
Dproto_translation_table.h75 bool InferFtraceType(const std::string& type_and_name,