Searched refs:attr_size (Results 1 – 9 of 9) sorted by relevance
/system/extras/iotop/ |
D | taskstats.cpp | 63 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/ |
D | cmd_dumprecord.cpp | 109 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()
|
D | record_file_format.h | 104 uint64_t attr_size; member
|
D | record_file_reader.cpp | 80 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()
|
D | record_file_writer.cpp | 399 header.attr_size = sizeof(FileAttr); in WriteFileHeader()
|
/system/extras/taskstats/ |
D | taskstats.c | 51 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/ |
D | header.h | 65 u64 attr_size; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | header.h | 50 u64 attr_size; member
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 925 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()
|