Home
last modified time | relevance | path

Searched refs:sampleType_ (Results 1 – 5 of 5) sorted by relevance

/developtools/hiperf/src/
Dperf_event_record.cpp259 if (sampleType_ & PERF_SAMPLE_REGS_USER) { in ReplaceWithCallStack()
265 if (sampleType_ & PERF_SAMPLE_STACK_USER) { in ReplaceWithCallStack()
275 if (sampleType_ & PERF_SAMPLE_CALLCHAIN) { in ReplaceWithCallStack()
303 sampleType_ = attr.sample_type; in PerfRecordSample()
310 PopFromBinary(sampleType_ & PERF_SAMPLE_IDENTIFIER, p, data_.sample_id); in PerfRecordSample()
311 PopFromBinary(sampleType_ & PERF_SAMPLE_IP, p, data_.ip); in PerfRecordSample()
312 PopFromBinary2(sampleType_ & PERF_SAMPLE_TID, p, data_.pid, data_.tid); in PerfRecordSample()
313 PopFromBinary(sampleType_ & PERF_SAMPLE_TIME, p, data_.time); in PerfRecordSample()
314 PopFromBinary(sampleType_ & PERF_SAMPLE_ADDR, p, data_.addr); in PerfRecordSample()
315 PopFromBinary(sampleType_ & PERF_SAMPLE_ID, p, data_.id); in PerfRecordSample()
[all …]
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/
Dperf_data_parser.cpp231 sampleType_ = vecAttr[0].attr.sample_type; in SplitPerfParsingAttr()
232 if (!(sampleType_ & PERF_SAMPLE_TIME)) { in SplitPerfParsingAttr()
233 … TS_LOGE("no time in sample data, not support split, sampleType_ = %" PRIx64 "", sampleType_); in SplitPerfParsingAttr()
237 …sampleTimeOffset_ = (((sampleType_ & PERF_SAMPLE_IDENTIFIER) != 0) + ((sampleType_ & PERF_SAMPLE_I… in SplitPerfParsingAttr()
238 ((sampleType_ & PERF_SAMPLE_TID) != 0)) * in SplitPerfParsingAttr()
Dperf_data_parser.h187 uint64_t sampleType_ = 0; variable
/developtools/hiperf/test/unittest/common/native/
Dperf_event_record_test.cpp443 record.sampleType_ |= PERF_SAMPLE_REGS_USER;
444 record.sampleType_ |= PERF_SAMPLE_STACK_USER;
445 record.sampleType_ |= PERF_SAMPLE_CALLCHAIN;
476 record.sampleType_ |= PERF_SAMPLE_CALLCHAIN;
502 record.sampleType_ |= PERF_SAMPLE_CALLCHAIN;
531 record.sampleType_ |= PERF_SAMPLE_CALLCHAIN;
/developtools/hiperf/include/
Dperf_event_record.h237 uint64_t sampleType_ = SAMPLE_TYPE; variable