/linux-4.1.27/tools/perf/tests/ |
D | sample-parsing.c | 145 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() argument 150 .sample_type = sample_type, in do_test() 213 if (sample_type & PERF_SAMPLE_REGS_USER) in do_test() 216 if (sample_type & PERF_SAMPLE_REGS_INTR) in do_test() 230 sz = perf_event__sample_event_size(&sample, sample_type, read_format); in do_test() 243 err = perf_event__synthesize_sample(event, sample_type, read_format, in do_test() 247 "perf_event__synthesize_sample", sample_type, err); in do_test() 262 evsel.sample_size = __perf_evsel__sample_size(sample_type); in do_test() 267 "perf_evsel__parse_sample", sample_type, err); in do_test() 271 if (!samples_same(&sample, &sample_out, sample_type, read_format)) { in do_test() [all …]
|
D | sw-clock.c | 32 .sample_type = PERF_SAMPLE_PERIOD, in __test__sw_clock_freq()
|
D | bp_signal_overflow.c | 88 pe.sample_type = PERF_SAMPLE_IP; in test__bp_signal_overflow()
|
D | bp_signal.c | 75 pe.sample_type = PERF_SAMPLE_IP; in bp_event()
|
D | attr.c | 94 WRITE_ASS(sample_type, "llu"); in store_event()
|
D | parse-events.c | 23 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_tracepoint() 39 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_tracepoint_multi() 434 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_list() 672 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__group3()
|
/linux-4.1.27/tools/perf/tests/attr/ |
D | test-record-data | 8 # sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | 10 sample_type=33039
|
D | test-record-group | 8 sample_type=327 15 sample_type=327
|
D | test-record-group1 | 8 sample_type=327 16 sample_type=327
|
D | test-record-group-sampling | 8 sample_type=343 21 sample_type=343
|
D | test-record-graph-default | 6 sample_type=295
|
D | test-record-raw | 7 sample_type=1415
|
D | test-record-no-inherit | 6 sample_type=263
|
D | test-record-count | 7 sample_type=7
|
D | test-record-graph-fp | 6 sample_type=295
|
D | test-record-branch-any | 7 sample_type=2311
|
D | test-record-branch-filter-any | 7 sample_type=2311
|
D | test-record-branch-filter-hv | 7 sample_type=2311
|
D | test-record-no-delay | 7 sample_type=263
|
D | test-record-branch-filter-any_ret | 7 sample_type=2311
|
D | test-record-branch-filter-any_call | 7 sample_type=2311
|
D | test-record-branch-filter-u | 7 sample_type=2311
|
D | test-record-branch-filter-ind_call | 7 sample_type=2311
|
D | test-record-branch-filter-k | 7 sample_type=2311
|
D | test-record-graph-dwarf | 6 sample_type=12583
|
D | test-record-C0 | 13 sample_type=391
|
D | base-stat | 11 sample_type=0
|
D | base-record | 11 sample_type=263
|
/linux-4.1.27/tools/perf/util/ |
D | evsel.c | 85 int __perf_evsel__sample_size(u64 sample_type) in __perf_evsel__sample_size() argument 87 u64 mask = sample_type & PERF_SAMPLE_MASK; in __perf_evsel__sample_size() 109 static int __perf_evsel__calc_id_pos(u64 sample_type) in __perf_evsel__calc_id_pos() argument 113 if (sample_type & PERF_SAMPLE_IDENTIFIER) in __perf_evsel__calc_id_pos() 116 if (!(sample_type & PERF_SAMPLE_ID)) in __perf_evsel__calc_id_pos() 119 if (sample_type & PERF_SAMPLE_IP) in __perf_evsel__calc_id_pos() 122 if (sample_type & PERF_SAMPLE_TID) in __perf_evsel__calc_id_pos() 125 if (sample_type & PERF_SAMPLE_TIME) in __perf_evsel__calc_id_pos() 128 if (sample_type & PERF_SAMPLE_ADDR) in __perf_evsel__calc_id_pos() 142 static int __perf_evsel__calc_is_pos(u64 sample_type) in __perf_evsel__calc_is_pos() argument [all …]
|
D | session.c | 443 attr->sample_type = bswap_64(attr->sample_type); in perf_event__attr_swap() 694 u64 sample_type = __perf_evlist__combined_sample_type(evlist); in perf_evlist__print_tstamp() local 702 if ((sample_type & PERF_SAMPLE_CPU)) in perf_evlist__print_tstamp() 705 if (sample_type & PERF_SAMPLE_TIME) in perf_evlist__print_tstamp() 760 u64 sample_type; in dump_sample() local 769 sample_type = evsel->attr.sample_type; in dump_sample() 771 if (sample_type & PERF_SAMPLE_CALLCHAIN) in dump_sample() 774 if ((sample_type & PERF_SAMPLE_BRANCH_STACK) && !has_branch_callstack(evsel)) in dump_sample() 777 if (sample_type & PERF_SAMPLE_REGS_USER) in dump_sample() 780 if (sample_type & PERF_SAMPLE_REGS_INTR) in dump_sample() [all …]
|
D | record.c | 80 evsel->attr.sample_type |= PERF_SAMPLE_IDENTIFIER; in perf_probe_sample_identifier() 126 if (evsel->attr.sample_type == first->attr.sample_type) in perf_evlist__config()
|
D | evlist.c | 1149 evlist->combined_sample_type |= evsel->attr.sample_type; in __perf_evlist__combined_sample_type() 1164 u64 sample_type = first->attr.sample_type; in perf_evlist__valid_read_format() local 1172 if ((sample_type & PERF_SAMPLE_READ) && in perf_evlist__valid_read_format() 1190 u64 sample_type; in perf_evlist__id_hdr_size() local 1196 sample_type = first->attr.sample_type; in perf_evlist__id_hdr_size() 1198 if (sample_type & PERF_SAMPLE_TID) in perf_evlist__id_hdr_size() 1201 if (sample_type & PERF_SAMPLE_TIME) in perf_evlist__id_hdr_size() 1204 if (sample_type & PERF_SAMPLE_ID) in perf_evlist__id_hdr_size() 1207 if (sample_type & PERF_SAMPLE_STREAM_ID) in perf_evlist__id_hdr_size() 1210 if (sample_type & PERF_SAMPLE_CPU) in perf_evlist__id_hdr_size() [all …]
|
D | data-convert-bt.c | 305 u64 type = evsel->attr.sample_type; in add_generic_values() 493 u64 type = evsel->attr.sample_type; in add_generic_types()
|
D | evsel.h | 150 int __perf_evsel__sample_size(u64 sample_type);
|
D | db-export.c | 327 if ((evsel->attr.sample_type & PERF_SAMPLE_ADDR) && in db_export__sample()
|
D | python.c | 513 .sample_type = PERF_SAMPLE_PERIOD | PERF_SAMPLE_TID, in pyrf_evsel__init() 570 &sample_period, &attr.sample_type, in pyrf_evsel__init()
|
D | machine.c | 1735 if (!((evsel->attr.sample_type & PERF_SAMPLE_REGS_USER) && in thread__resolve_callchain() 1736 (evsel->attr.sample_type & PERF_SAMPLE_STACK_USER))) in thread__resolve_callchain()
|
/linux-4.1.27/kernel/events/ |
D | core.c | 1300 u64 sample_type = event->attr.sample_type; in perf_event__header_size() local 1305 if (sample_type & PERF_SAMPLE_IP) in perf_event__header_size() 1308 if (sample_type & PERF_SAMPLE_ADDR) in perf_event__header_size() 1311 if (sample_type & PERF_SAMPLE_PERIOD) in perf_event__header_size() 1314 if (sample_type & PERF_SAMPLE_WEIGHT) in perf_event__header_size() 1317 if (sample_type & PERF_SAMPLE_READ) in perf_event__header_size() 1320 if (sample_type & PERF_SAMPLE_DATA_SRC) in perf_event__header_size() 1323 if (sample_type & PERF_SAMPLE_TRANSACTION) in perf_event__header_size() 1332 u64 sample_type = event->attr.sample_type; in perf_event__id_header_size() local 1335 if (sample_type & PERF_SAMPLE_TID) in perf_event__id_header_size() [all …]
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_ds.c | 864 u64 sample_type; in __intel_pmu_pebs_event() local 871 sample_type = event->attr.sample_type; in __intel_pmu_pebs_event() 872 dsrc = sample_type & PERF_SAMPLE_DATA_SRC; in __intel_pmu_pebs_event() 884 if (fll && (sample_type & PERF_SAMPLE_WEIGHT)) in __intel_pmu_pebs_event() 917 if (sample_type & PERF_SAMPLE_REGS_INTR) { in __intel_pmu_pebs_event() 948 if ((sample_type & PERF_SAMPLE_ADDR) && in __intel_pmu_pebs_event() 954 if ((sample_type & PERF_SAMPLE_WEIGHT) && !fll) in __intel_pmu_pebs_event() 957 if (sample_type & PERF_SAMPLE_TRANSACTION) in __intel_pmu_pebs_event()
|
D | perf_event_amd_ibs.c | 555 if (event->attr.sample_type & PERF_SAMPLE_RAW) in perf_ibs_handle_irq() 568 if (event->attr.sample_type & PERF_SAMPLE_RAW) { in perf_ibs_handle_irq() 593 if (event->attr.sample_type & PERF_SAMPLE_RAW) { in perf_ibs_handle_irq()
|
/linux-4.1.27/tools/perf/ |
D | builtin-report.c | 205 u64 sample_type = perf_evlist__combined_sample_type(session->evlist); in report__setup_sample_type() local 208 if (!is_pipe && !(sample_type & PERF_SAMPLE_CALLCHAIN)) { in report__setup_sample_type() 233 if (!(sample_type & PERF_SAMPLE_CALLCHAIN)) { in report__setup_sample_type() 241 !(sample_type & PERF_SAMPLE_BRANCH_STACK)) { in report__setup_sample_type() 249 if ((sample_type & PERF_SAMPLE_REGS_USER) && in report__setup_sample_type() 250 (sample_type & PERF_SAMPLE_STACK_USER)) in report__setup_sample_type() 252 else if (sample_type & PERF_SAMPLE_BRANCH_STACK) in report__setup_sample_type()
|
D | builtin-inject.c | 321 perf_event__synthesize_sample(event_sw, evsel->attr.sample_type, in perf_inject__sched_stat() 334 u64 sample_type, const char *sample_msg) in perf_evsel__check_stype() argument 339 if (!(attr->sample_type & sample_type)) { in perf_evsel__check_stype()
|
D | builtin-script.c | 150 u64 sample_type, const char *sample_msg, in perf_evsel__check_stype() argument 157 if (attr->sample_type & sample_type) in perf_evsel__check_stype() 302 if (evsel->attr.sample_type & PERF_SAMPLE_CALLCHAIN) { in perf_session__check_output_opt() 326 if (attr->sample_type & PERF_SAMPLE_CALLCHAIN) { in perf_session__check_output_opt() 436 ((evsel->attr.sample_type & PERF_SAMPLE_ADDR) && in print_sample_bts()
|
D | builtin-timechart.c | 561 if (evsel->attr.sample_type & PERF_SAMPLE_TIME) { in process_sample_event()
|
/linux-4.1.27/drivers/cpufreq/ |
D | cpufreq_ondemand.c | 203 int delay = 0, sample_type = core_dbs_info->sample_type; in od_dbs_timer() local 213 core_dbs_info->sample_type = OD_NORMAL_SAMPLE; in od_dbs_timer() 214 if (sample_type == OD_SUB_SAMPLE) { in od_dbs_timer() 222 core_dbs_info->sample_type = OD_SUB_SAMPLE; in od_dbs_timer()
|
D | cpufreq_governor.h | 162 unsigned int sample_type:1; member
|
D | cpufreq_governor.c | 402 od_dbs_info->sample_type = OD_NORMAL_SAMPLE; in cpufreq_governor_dbs()
|
/linux-4.1.27/tools/perf/python/ |
D | twatch.py | 24 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU)
|
/linux-4.1.27/sound/pci/mixart/ |
D | mixart.c | 537 stream_param.sample_type = ST_INTEGER_8; in mixart_set_format() 541 stream_param.sample_type = ST_INTEGER_16LE; in mixart_set_format() 545 stream_param.sample_type = ST_INTEGER_16BE; in mixart_set_format() 549 stream_param.sample_type = ST_INTEGER_24LE; in mixart_set_format() 553 stream_param.sample_type = ST_INTEGER_24BE; in mixart_set_format() 557 stream_param.sample_type = ST_FLOATING_POINT_32LE; in mixart_set_format() 561 stream_param.sample_type = ST_FLOATING_POINT_32BE; in mixart_set_format() 572 … stream_param.sample_type, stream_param.sample_size, stream_param.sampling_freq, stream->channels); in mixart_set_format()
|
D | mixart_core.h | 369 u32 sample_type; /* use enum mixart_sample_type */ member
|
/linux-4.1.27/include/linux/i2c/ |
D | twl4030-madc.h | 64 enum sample_type { enum
|
/linux-4.1.27/kernel/trace/ |
D | trace_event_perf.c | 62 if (p_event->attr.sample_type & PERF_SAMPLE_STACK_USER) in perf_trace_event_perm() 67 if (!(p_event->attr.sample_type & PERF_SAMPLE_RAW)) in perf_trace_event_perm()
|
/linux-4.1.27/include/uapi/linux/ |
D | perf_event.h | 291 __u64 sample_type; member
|
/linux-4.1.27/samples/bpf/ |
D | bpf_load.c | 44 attr.sample_type = PERF_SAMPLE_RAW; in load_and_attach()
|
/linux-4.1.27/arch/powerpc/perf/ |
D | core-book3s.c | 528 event->attr.sample_type || in ebb_event_check() 1978 if (event->attr.sample_type & PERF_SAMPLE_ADDR) in record_and_restart() 1981 if (event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK) { in record_and_restart()
|
/linux-4.1.27/include/linux/ |
D | perf_event.h | 884 return event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK; in has_branch_stack()
|