Home
last modified time | relevance | path

Searched refs:ftrace_size (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/lib/
Dtrace.c32 ulong ftrace_size; /* Num. of ftrace records we have space for */ member
66 if (hdr->ftrace_count < hdr->ftrace_size) { in add_ftrace()
78 if (hdr->ftrace_count < hdr->ftrace_size) { in add_textbase()
206 if (count > hdr->ftrace_size) in trace_list_calls()
207 count = hdr->ftrace_size; in trace_list_calls()
253 count = min(hdr->ftrace_count, hdr->ftrace_size); in trace_print_stats()
256 if (hdr->ftrace_count > hdr->ftrace_size) { in trace_print_stats()
258 hdr->ftrace_count - hdr->ftrace_size); in trace_print_stats()
323 hdr->ftrace_size = (buff_size - needed) / sizeof(*hdr->ftrace); in trace_init()
358 hdr->ftrace_size = (buff_size - needed) / sizeof(*hdr->ftrace); in trace_early_init()
/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table_unittest.cc119 EXPECT_EQ(pid_field.ftrace_size, 4u); in TEST()
127 EXPECT_EQ(event->fields.at(0).ftrace_size, 16u); in TEST()
136 EXPECT_EQ(event->fields.at(0).ftrace_size, 16u); in TEST()
145 EXPECT_EQ(event->fields.at(0).ftrace_size, 4u); in TEST()
421 EXPECT_EQ(str_field.ftrace_size, 16); in TEST()
431 EXPECT_EQ(bool_field.ftrace_size, 1); in TEST()
441 EXPECT_EQ(int_field.ftrace_size, 4); in TEST()
451 EXPECT_EQ(uint_field.ftrace_size, 4); in TEST()
Devent_info_constants.h135 : ftrace_offset(offset), ftrace_size(size) {} in Field()
138 uint16_t ftrace_size; member
Devent_info_unittest.cc49 ASSERT_FALSE(field.ftrace_size); in TEST()
66 ASSERT_FALSE(field.ftrace_size); in TEST()
Dcpu_reader_unittest.cc704 field->ftrace_size = 4; in TEST_F()
716 field->ftrace_size = 4; in TEST_F()
738 field->ftrace_size = 4; in TEST_F()
749 field->ftrace_size = 4; in TEST_F()
760 field->ftrace_size = 4; in TEST_F()
771 field->ftrace_size = 4; in TEST_F()
782 field->ftrace_size = 8; in TEST_F()
793 field->ftrace_size = 8; in TEST_F()
804 field->ftrace_size = 16; in TEST_F()
815 field->ftrace_size = 4; in TEST_F()
[all …]
Dproto_translation_table.cc121 PERFETTO_DCHECK(!field->ftrace_size); in MergeFieldInfo()
137 field->ftrace_size = ftrace_field.size; in MergeFieldInfo()
176 uint16_t field_end = field->ftrace_offset + field->ftrace_size; in MergeFields()
548 field->ftrace_size = ftrace_field.size; in CreateGenericEventField()
Dcpu_reader.cc90 PERFETTO_DCHECK(field.ftrace_size == 4); in ReadDataLoc()
610 PERFETTO_DCHECK(start + field.ftrace_offset + field.ftrace_size <= end); in ParseField()
647 return ReadIntoString(field_start, field_start + field.ftrace_size, in ParseField()