Home
last modified time | relevance | path

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

/external/linux-tools-perf/
Dbuiltin-record.c171 attr->sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID; in config_attr()
174 attr->sample_type |= PERF_SAMPLE_ID; in config_attr()
183 attr->sample_type |= PERF_SAMPLE_PERIOD; in config_attr()
198 attr->sample_type |= PERF_SAMPLE_ADDR; in config_attr()
203 attr->sample_type |= PERF_SAMPLE_CALLCHAIN; in config_attr()
206 attr->sample_type |= PERF_SAMPLE_CPU; in config_attr()
210 attr->sample_type |= PERF_SAMPLE_TIME; in config_attr()
213 attr->sample_type |= PERF_SAMPLE_TIME; in config_attr()
214 attr->sample_type |= PERF_SAMPLE_RAW; in config_attr()
215 attr->sample_type |= PERF_SAMPLE_CPU; in config_attr()
[all …]
Dbuiltin-test.c468 .sample_type = PERF_SAMPLE_ID, in test__basic_mmap()
481 int sample_size = __perf_evsel__sample_size(attr.sample_type); in test__basic_mmap()
566 err = perf_event__parse_sample(event, attr.sample_type, sample_size, in test__basic_mmap()
Dbuiltin-script.c124 u64 sample_type, const char *sample_msg, in perf_event_attr__check_stype() argument
130 if (attr->sample_type & sample_type) in perf_event_attr__check_stype()
166 !(attr->sample_type & PERF_SAMPLE_CALLCHAIN)) in perf_evsel__check_attr()
Dbuiltin-top.c886 attr->sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID; in start_counters()
889 attr->sample_type |= PERF_SAMPLE_PERIOD; in start_counters()
895 attr->sample_type |= PERF_SAMPLE_ID; in start_counters()
Dbuiltin-report.c162 if (!(self->sample_type & PERF_SAMPLE_CALLCHAIN)) { in perf_session__setup_sample_type()
Dbuiltin-timechart.c504 if (session->sample_type & PERF_SAMPLE_TIME) { in process_sample_event()
512 if (session->sample_type & PERF_SAMPLE_RAW && sample->raw_size > 0) { in process_sample_event()
Dbuiltin-sched.c1651 if (!(session->sample_type & PERF_SAMPLE_RAW)) in process_sample_event()
/external/linux-tools-perf/util/
Dsession.c89 u64 sample_type = session->sample_type; in perf_session__id_header_size() local
95 if (sample_type & PERF_SAMPLE_TID) in perf_session__id_header_size()
98 if (sample_type & PERF_SAMPLE_TIME) in perf_session__id_header_size()
101 if (sample_type & PERF_SAMPLE_ID) in perf_session__id_header_size()
104 if (sample_type & PERF_SAMPLE_STREAM_ID) in perf_session__id_header_size()
107 if (sample_type & PERF_SAMPLE_CPU) in perf_session__id_header_size()
115 self->sample_type = perf_evlist__sample_type(self->evlist); in perf_session__update_sample_type()
116 self->sample_size = __perf_evsel__sample_size(self->sample_type); in perf_session__update_sample_type()
423 attr->sample_type = bswap_64(attr->sample_type); in perf_event__attr_swap()
692 if ((session->sample_type & PERF_SAMPLE_CPU)) in perf_session__print_tstamp()
[all …]
Devsel.h160 int __perf_evsel__sample_size(u64 sample_type);
164 return __perf_evsel__sample_size(evsel->attr.sample_type); in perf_evsel__sample_size()
Dsession.h52 u64 sample_type; member
170 return perf_event__parse_sample(event, session->sample_type, in perf_session__parse_sample()
Devlist.c472 if (first->attr.sample_type != pos->attr.sample_type) in perf_evlist__valid_sample_type()
484 return first->attr.sample_type; in perf_evlist__sample_type()
Devsel.c18 int __perf_evsel__sample_size(u64 sample_type) in __perf_evsel__sample_size() argument
20 u64 mask = sample_type & PERF_SAMPLE_MASK; in __perf_evsel__sample_size()
Dparse-events.c471 attr->sample_type |= PERF_SAMPLE_RAW; in parse_single_tracepoint_event()
472 attr->sample_type |= PERF_SAMPLE_TIME; in parse_single_tracepoint_event()
473 attr->sample_type |= PERF_SAMPLE_CPU; in parse_single_tracepoint_event()
Dpython.c391 .sample_type = PERF_SAMPLE_PERIOD | PERF_SAMPLE_TID, in pyrf_evsel__init()
446 &sample_period, &attr.sample_type, in pyrf_evsel__init()
694 err = perf_event__parse_sample(event, first->attr.sample_type, in pyrf_evlist__read_on_cpu()
/external/linux-tools-perf/python/
Dtwatch.py24 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU | perf.SAMPLE_TID)
/external/v8/tools/
Dll_prof.py621 perf_event_attr.sample_type)
623 (perf_event_attr.sample_type & PERF_SAMPLE_CALLCHAIN) != 0
662 def _SampleEventBodyDesc(self, sample_type): argument
663 assert (sample_type & PERF_SAMPLE_READ) == 0, \
667 if (bit & sample_type) != 0]
/external/kernel-headers/original/linux/
Dperf_event.h188 __u64 sample_type; member
/external/linux-tools-perf/util/include/linux/added/
Dperf_event.h198 __u64 sample_type; member
/external/valgrind/main/include/vki/
Dvki-linux.h2652 __vki_u64 sample_type; member