Home
last modified time | relevance | path

Searched refs:event_attr (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/powerpc/
Dutils.c181 static void perf_event_attr_init(struct perf_event_attr *event_attr, in perf_event_attr_init() argument
185 memset(event_attr, 0, sizeof(*event_attr)); in perf_event_attr_init()
187 event_attr->type = type; in perf_event_attr_init()
188 event_attr->size = sizeof(struct perf_event_attr); in perf_event_attr_init()
189 event_attr->config = config; in perf_event_attr_init()
190 event_attr->read_format = PERF_FORMAT_GROUP; in perf_event_attr_init()
191 event_attr->disabled = 1; in perf_event_attr_init()
192 event_attr->exclude_kernel = 1; in perf_event_attr_init()
193 event_attr->exclude_hv = 1; in perf_event_attr_init()
194 event_attr->exclude_guest = 1; in perf_event_attr_init()
[all …]
/external/perf_data_converter/src/quipper/
Dsample_info_reader.h21 SampleInfoReader(struct perf_event_attr event_attr, bool read_cross_endian) in SampleInfoReader() argument
22 : event_attr_(event_attr), read_cross_endian_(read_cross_endian) {} in SampleInfoReader()
44 const perf_event_attr& event_attr() const { return event_attr_; } in event_attr() function
Dperf_serializer.cc160 const PerfFileAttr& event_attr, in SerializePerfEventType() argument
162 event_type_proto->set_id(event_attr.attr.config); in SerializePerfEventType()
163 event_type_proto->set_name(event_attr.name); in SerializePerfEventType()
164 event_type_proto->set_name_md5_prefix(Md5Prefix(event_attr.name)); in SerializePerfEventType()
170 PerfFileAttr* event_attr) const { in DeserializePerfEventType()
172 if (event_attr->attr.config != event_type_proto.id()) { in DeserializePerfEventType()
174 << " does not match attr.config " << event_attr->attr.config in DeserializePerfEventType()
178 event_attr->name = event_type_proto.name(); in DeserializePerfEventType()
373 if (reader->event_attr().read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in SerializeSampleEvent()
375 if (reader->event_attr().read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in SerializeSampleEvent()
[all …]
Dperf_serializer.h60 const PerfFileAttr& event_attr,
64 PerfFileAttr* event_attr) const;
195 void CreateSampleInfoReader(const PerfFileAttr& event_attr,