Searched refs:InferFtraceType (Results 1 – 3 of 3) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | proto_translation_table_unittest.cc | 262 TEST(TranslationTableTest, InferFtraceType) { in TEST() argument 265 ASSERT_TRUE(InferFtraceType("char foo[16]", 16, false, &type)); in TEST() 268 ASSERT_TRUE(InferFtraceType("char[] foo", 8, false, &type)); in TEST() 271 ASSERT_TRUE(InferFtraceType("char * foo", 8, false, &type)); in TEST() 274 ASSERT_TRUE(InferFtraceType("char foo[64]", 64, false, &type)); in TEST() 277 ASSERT_TRUE(InferFtraceType("u32 foo", 4, false, &type)); in TEST() 280 ASSERT_TRUE(InferFtraceType("i_ino foo", 4, false, &type)); in TEST() 283 ASSERT_TRUE(InferFtraceType("i_ino foo", 8, false, &type)); in TEST() 286 ASSERT_TRUE(InferFtraceType("ino_t foo", 4, false, &type)); in TEST() 289 ASSERT_TRUE(InferFtraceType("ino_t foo", 8, false, &type)); in TEST() [all …]
|
D | proto_translation_table.cc | 124 if (!InferFtraceType(ftrace_field.type_and_name, ftrace_field.size, in MergeFieldInfo() 251 bool InferFtraceType(const std::string& type_and_name, in InferFtraceType() function 534 if (!InferFtraceType(ftrace_field.type_and_name, ftrace_field.size, in CreateGenericEventField()
|
D | proto_translation_table.h | 67 bool InferFtraceType(const std::string& type_and_name,
|