Home
last modified time | relevance | path

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

/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/simpleperf/
Dcmd_dumprecord.cpp109 printf("attr_size: %" PRId64 "\n", header.attr_size); in DumpFileHeader()
110 if (header.attr_size != sizeof(FileAttr)) { in DumpFileHeader()
111 PLOG(WARNING) << "record file attr size " << header.attr_size in DumpFileHeader()
Drecord_file_format.h104 uint64_t attr_size; member
Drecord_file_reader.cpp80 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection()
81 if (header_.attr_size != sizeof(FileAttr)) { in ReadAttrSection()
82 LOG(DEBUG) << "attr size (" << header_.attr_size << ") in " << filename_ in ReadAttrSection()
94 std::vector<char> buf(header_.attr_size); in ReadAttrSection()
103 size_t perf_event_attr_size = header_.attr_size - section_desc_size; in ReadAttrSection()
Drecord_file_writer.cpp399 header.attr_size = sizeof(FileAttr); in WriteFileHeader()
/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.cc925 size_t num_attrs = header_.attrs.size / header_.attr_size; in ReadAttrs()
961 u32 attr_size; in ReadPerfEventAttrSize() local
964 "attr.size", &attr_size_offset, &attr_size)) { in ReadPerfEventAttrSize()
967 return MaybeSwap(attr_size, is_cross_endian_); in ReadPerfEventAttrSize()
978 u32 attr_size = ReadPerfEventAttrSize(data, *offset); in ReadEventAttr() local
979 if (attr_size == kuint32max) { in ReadEventAttr()
984 if (!ReadDataFromBuffer(data, attr_size, "attribute", offset, in ReadEventAttr()
1016 CHECK_EQ(attr_size, attr->size); in ReadEventAttr()