Home
last modified time | relevance | path

Searched refs:sample_type (Results 1 – 25 of 257) sorted by relevance

1234567891011

/external/perf_data_converter/src/quipper/
Dsample_info_reader_test.cc21 uint64_t sample_type = // * == in sample_id_all in TEST() local
35 attr.sample_type = sample_type; in TEST()
86 uint64_t sample_type = // * == in sample_id_all in TEST() local
97 attr.sample_type = sample_type; in TEST()
143 uint64_t sample_type = // * == in sample_id_all in TEST() local
154 attr.sample_type = sample_type; in TEST()
214 attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_READ; in TEST()
266 attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_READ; in TEST()
306 attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_READ; in TEST()
344 attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_READ; in TEST()
Dperf_serializer.cc67 S(sample_type); in SerializePerfEventAttr()
119 S(sample_type); in DeserializePerfEventAttr()
350 uint64_t sample_type = 0; in SerializeSampleEvent() local
351 if (!ReadPerfSampleInfoAndType(event, &sample_info, &sample_type)) in SerializeSampleEvent()
354 if (sample_type & PERF_SAMPLE_IP) sample->set_ip(sample_info.ip); in SerializeSampleEvent()
355 if (sample_type & PERF_SAMPLE_TID) { in SerializeSampleEvent()
359 if (sample_type & PERF_SAMPLE_TIME) in SerializeSampleEvent()
361 if (sample_type & PERF_SAMPLE_ADDR) sample->set_addr(sample_info.addr); in SerializeSampleEvent()
362 if ((sample_type & PERF_SAMPLE_ID) || (sample_type & PERF_SAMPLE_IDENTIFIER)) in SerializeSampleEvent()
364 if (sample_type & PERF_SAMPLE_STREAM_ID) in SerializeSampleEvent()
[all …]
Dtest_perf_data.h103 explicit ExamplePerfEventAttrEvent_Hardware(u64 sample_type, in ExamplePerfEventAttrEvent_Hardware() argument
106 sample_type_(sample_type), in ExamplePerfEventAttrEvent_Hardware()
168 explicit ExamplePerfFileAttr_Hardware(u64 sample_type, bool sample_id_all) in ExamplePerfFileAttr_Hardware() argument
170 sample_type_(sample_type), in ExamplePerfFileAttr_Hardware()
Dsample_info_reader.cc161 event.header.type, attr.sample_type); in ReadPerfSampleFromData()
343 event->header.type, attr.sample_type); in WritePerfSampleToData()
558 uint64_t sample_type) { in GetSampleFieldsForEventType() argument
580 return sample_type & mask; in GetSampleFieldsForEventType()
Dperf_reader_test.cc477 __u64 sample_type; in TEST() member
505 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | in TEST()
567 const u64 sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | in TEST() local
576 testing::ExamplePerfEventAttrEvent_Hardware(sample_type, in TEST()
720 const u64 sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_READ | PERF_SAMPLE_ID; in TEST() local
722 testing::ExamplePerfEventAttrEvent_Hardware(sample_type, in TEST()
795 const u64 sample_type = // * == in sample_id_all in TEST() local
812 testing::ExamplePerfEventAttrEvent_Hardware(sample_type, in TEST()
1701 EXPECT_EQ(PERF_SAMPLE_IP | PERF_SAMPLE_TID, attr0.sample_type()); in TEST()
1708 EXPECT_EQ(PERF_SAMPLE_IP | PERF_SAMPLE_TID, attr1.sample_type()); in TEST()
[all …]
Dsample_info_reader.h38 uint64_t sample_type);
Dtest_perf_data.cc141 attr.sample_type = sample_type_; in WriteTo()
176 attr.sample_type = MaybeSwap64(sample_type_); in WriteTo()
214 attr.sample_type = (PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | in WriteTo()
/external/tensorflow/tensorflow/python/profiler/
Dpprof_profiler.py347 sample_type = pprof_profile.sample_type.add()
348 sample_type.type = self._string_table.index_of(sample_type_description)
349 sample_type.unit = self._string_table.index_of('count')
351 sample_type = pprof_profile.sample_type.add()
352 sample_type.type = self._string_table.index_of(sample_type_description)
353 sample_type.unit = self._string_table.index_of('nanoseconds')
355 sample_type = pprof_profile.sample_type.add()
356 sample_type.type = self._string_table.index_of(sample_type_description)
357 sample_type.unit = self._string_table.index_of('nanoseconds')
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.cc311 auto sample_type = profile_pb->mutable_sample_type()->Add(); in Build() local
312 sample_type->set_type(string_table_.GetIndex(sample_type_description)); in Build()
313 sample_type->set_unit(string_table_.GetIndex("count")); in Build()
317 sample_type = profile_pb->mutable_sample_type()->Add(); in Build()
318 sample_type->set_type(string_table_.GetIndex(sample_type_description)); in Build()
320 sample_type->set_unit(string_table_.GetIndex("microseconds")); in Build()
332 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
337 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
341 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
345 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
[all …]
/external/strace/
Dperf.c254 PRINT_FIELD_FLAGS(", ", *attr, sample_type, perf_event_sample_format, in print_perf_event_attr()
357 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) { in print_perf_event_attr()
377 if (attr->sample_type & PERF_SAMPLE_STACK_USER) in print_perf_event_attr()
Dperf_event_struct.h14 uint64_t sample_type; member
/external/strace/tests/
Dperf_event_open.c147 const char *type, const char *config, const char *sample_type, in print_event_attr() argument
223 sample_type, read_format); in print_event_attr()
410 if (attr->sample_type & (1 << 11)) in print_event_attr()
442 if (attr->sample_type & (1 << 13)) in print_event_attr()
759 attr->sample_type = sample_types[sample_type_idx].val; in main()
/external/strace/tests-mx32/
Dperf_event_open.c147 const char *type, const char *config, const char *sample_type, in print_event_attr() argument
223 sample_type, read_format); in print_event_attr()
410 if (attr->sample_type & (1 << 11)) in print_event_attr()
442 if (attr->sample_type & (1 << 13)) in print_event_attr()
759 attr->sample_type = sample_types[sample_type_idx].val; in main()
/external/strace/tests-m32/
Dperf_event_open.c147 const char *type, const char *config, const char *sample_type, in print_event_attr() argument
223 sample_type, read_format); in print_event_attr()
410 if (attr->sample_type & (1 << 11)) in print_event_attr()
442 if (attr->sample_type & (1 << 13)) in print_event_attr()
759 attr->sample_type = sample_types[sample_type_idx].val; in main()
/external/perf_data_converter/src/
Dperf_data_converter.cc342 auto sample_type = profile->add_sample_type(); in GetOrCreateBuilder() local
343 sample_type->set_type(UTF8StringId(event_name + "sample", builder)); in GetOrCreateBuilder()
344 sample_type->set_unit(builder->StringId("count")); in GetOrCreateBuilder()
345 sample_type = profile->add_sample_type(); in GetOrCreateBuilder()
346 sample_type->set_type(UTF8StringId(event_name + "event", builder)); in GetOrCreateBuilder()
347 sample_type->set_unit(builder->StringId("count")); in GetOrCreateBuilder()
Dprofile.proto47 // sample_type.unit == "count".
48 repeated ValueType sample_type = 1; field
102 // entry in Profile.sample_type. All samples must have the same
103 // number of values, the same as the length of Profile.sample_type.
/external/perfetto/protos/third_party/pprof/
Dprofile.proto59 // sample_type.unit == "count".
60 repeated ValueType sample_type = 1; field
114 // entry in Profile.sample_type. All samples must have the same
115 // number of values, the same as the length of Profile.sample_type.
/external/perf_data_converter/src/quipper/testdata/
Dperf.callgraph.pb_text7 sample_type: 423
Dperf.data.singleprocess-3.4.parse.remap2.out.pb_text7 sample_type: 327
50 sample_type: 327
93 sample_type: 327
136 sample_type: 327
179 sample_type: 327
222 sample_type: 327
/external/tensorflow/tensorflow/core/profiler/
Dprofile.proto7 repeated ValueType sample_type = 1; field
/external/v8/tools/
Dll_prof.py605 perf_event_attr.sample_type)
607 (perf_event_attr.sample_type & PERF_SAMPLE_CALLCHAIN) != 0
655 def _SampleEventBodyDesc(self, sample_type): argument
656 assert (sample_type & PERF_SAMPLE_READ) == 0, \
660 if (bit & sample_type) != 0]
/external/perf_data_converter/src/testdata/
Dperf-overlapping-kernel-mapping.pb_proto7 sample_type: 1415
/external/bcc/src/python/bcc/
Dperf.py99 attr.sample_type = Perf.PERF_SAMPLE_RAW
/external/kernel-headers/original/uapi/sound/
Dskl-tplg-interface.h179 __u32 sample_type; member
/external/linux-kselftest/tools/testing/selftests/bpf/
Dget_cgroup_id_user.c105 attr.sample_type = PERF_SAMPLE_RAW; in main()

1234567891011