Home
last modified time | relevance | path

Searched refs:attr_size (Results 1 – 6 of 6) sorted by relevance

/system/extras/iotop/
Dtaskstats.cpp64 static pid_t ParseAggregateTaskStats(nlattr* attr, int attr_size, taskstats* stats) { in ParseAggregateTaskStats() argument
66 nla_for_each_attr(attr, attr, attr_size, attr_size) { in ParseAggregateTaskStats()
/system/extras/simpleperf/
Drecord_file_format.h139 uint64_t attr_size; member
Drecord_file_reader.cpp131 if (header_.attr_size == 0 || !CheckSectionDesc(header_.attrs, sizeof(header_)) || in ReadHeader()
153 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection()
154 if (header_.attr_size != sizeof(FileAttr)) { in ReadAttrSection()
155 if (header_.attr_size <= sizeof(SectionDesc)) { in ReadAttrSection()
159 LOG(DEBUG) << "attr size (" << header_.attr_size << ") in " << filename_ in ReadAttrSection()
172 size_t attr_size_in_file = header_.attr_size - sizeof(SectionDesc); in ReadAttrSection()
174 std::vector<char> buf(header_.attr_size); in ReadAttrSection()
Drecord_file_writer.cpp488 header.attr_size = sizeof(FileAttr); in WriteFileHeader()
Dcmd_dumprecord.cpp301 printf("attr_size: %" PRId64 "\n", header.attr_size); in DumpFileHeader()
/system/extras/taskstats/
Dtaskstats.c51 void parse_aggregate_task_stats(struct nlattr* attr, int attr_size, in parse_aggregate_task_stats() argument
53 nla_for_each_attr(attr, attr, attr_size, attr_size) { in parse_aggregate_task_stats()