Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_reader.cpp76 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection()
77 if (header_.attr_size != sizeof(FileAttr)) { in ReadAttrSection()
78 LOG(DEBUG) << "attr size (" << header_.attr_size << ") in " << filename_ in ReadAttrSection()
90 std::vector<char> buf(header_.attr_size); in ReadAttrSection()
100 size_t perf_event_attr_size = header_.attr_size - section_desc_size; in ReadAttrSection()
Dcmd_dumprecord.cpp107 printf("attr_size: %" PRId64 "\n", header.attr_size); in DumpFileHeader()
108 if (header.attr_size != sizeof(FileAttr)) { in DumpFileHeader()
109 PLOG(WARNING) << "record file attr size " << header.attr_size in DumpFileHeader()
Drecord_file_format.h71 uint64_t attr_size; member
Drecord_file_writer.cpp261 header.attr_size = sizeof(FileAttr); in WriteFileHeader()
/system/extras/iotop/
Dtaskstats.cpp63 static pid_t ParseAggregateTaskStats(nlattr* attr, int attr_size, in ParseAggregateTaskStats() argument
66 nla_for_each_attr(attr, attr, attr_size, attr_size) { in ParseAggregateTaskStats()
/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()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Dheader.h65 u64 attr_size; member
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dheader.h50 u64 attr_size; member
/system/extras/perfprofd/quipper/
Dperf_reader.cc878 size_t num_attrs = header_.attrs.size / header_.attr_size; in ReadAttrs()
914 u32 attr_size; in ReadPerfEventAttrSize() local
917 "attr.size", &attr_size_offset, &attr_size)) { in ReadPerfEventAttrSize()
920 return MaybeSwap(attr_size, is_cross_endian_); in ReadPerfEventAttrSize()
931 u32 attr_size = ReadPerfEventAttrSize(data, *offset); in ReadEventAttr() local
932 if (attr_size == kuint32max) { in ReadEventAttr()
937 if (!ReadDataFromBuffer(data, attr_size, "attribute", offset, in ReadEventAttr()
969 CHECK_EQ(attr_size, attr->size); in ReadEventAttr()