/linux-master/tools/perf/arch/x86/tests/ |
H A D | sample-parsing.c | 38 static int do_test(u64 sample_type) argument 44 .sample_type = sample_type, 59 sz = perf_event__sample_event_size(&sample, sample_type, 0); 72 err = perf_event__synthesize_sample(event, sample_type, 0, &sample); 74 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", 75 "perf_event__synthesize_sample", sample_type, err); 90 evsel.sample_size = __evsel__sample_size(sample_type); 94 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", 95 "evsel__parse_sample", sample_type, er [all...] |
H A D | amd-ibs-via-core-pmu.c | 34 attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID;
|
H A D | intel-cqm.c | 80 pe.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_READ;
|
/linux-master/drivers/cpufreq/ |
H A D | cpufreq_ondemand.h | 16 unsigned int sample_type:1; member in struct:od_policy_dbs_info
|
H A D | cpufreq_ondemand.c | 176 int sample_type = dbs_info->sample_type; local 179 dbs_info->sample_type = OD_NORMAL_SAMPLE; 184 if (sample_type == OD_SUB_SAMPLE && policy_dbs->sample_delay_ns > 0) { 194 dbs_info->sample_type = OD_SUB_SAMPLE; 394 dbs_info->sample_type = OD_NORMAL_SAMPLE;
|
/linux-master/tools/perf/tests/ |
H A D | sample-parsing.c | 196 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) argument 202 .sample_type = sample_type, 276 if (sample_type & PERF_SAMPLE_REGS_USER) 279 if (sample_type & PERF_SAMPLE_REGS_INTR) 282 if (sample_type & PERF_SAMPLE_BRANCH_STACK) 297 sz = perf_event__sample_event_size(&sample, sample_type, read_format); 310 err = perf_event__synthesize_sample(event, sample_type, read_format, 313 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", 314 "perf_event__synthesize_sample", sample_type, er 380 u64 sample_type; local [all...] |
H A D | dlfilter-test.c | 112 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) argument 118 .sample_type = sample_type, 173 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) argument 192 event->header.size = perf_event__sample_event_size(&sample, sample_type, 0); 193 err = perf_event__synthesize_sample(event, sample_type, 0, &sample); 322 u64 sample_type = TEST_SAMPLE_TYPE; local 366 err = write_attr(td, sample_type, &id); 376 if (write_sample(td, sample_type, id, pid, tid) != TEST_OK)
|
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | bhrb_no_crash_wo_pmu_test.c | 41 event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
|
H A D | intr_regs_no_crash_wo_pmu_test.c | 40 event.attr.sample_type = PERF_SAMPLE_REGS_INTR;
|
H A D | mmcra_bhrb_any_test.c | 36 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
|
H A D | mmcra_bhrb_cond_test.c | 40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
|
H A D | mmcra_bhrb_disable_test.c | 37 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
|
H A D | mmcra_bhrb_ind_call_test.c | 40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
|
H A D | bhrb_filter_map_test.c | 59 event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
|
/linux-master/tools/perf/util/ |
H A D | bpf_off_cpu.c | 61 evsel->core.attr.sample_type = PERF_SAMPLE_CALLCHAIN; 298 u64 sample_type, val, sid = 0; local 318 sample_type = evsel->core.attr.sample_type; 320 if (sample_type & ~OFFCPU_SAMPLE_TYPES) { 322 (unsigned long long)sample_type); 326 if (sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER)) { 341 if (sample_type & PERF_SAMPLE_IDENTIFIER) 343 if (sample_type & PERF_SAMPLE_IP) { 347 if (sample_type [all...] |
H A D | record.c | 86 * sample_type to ease up reporting. 87 * An AUX area event also has sample_type requirements, so also include 88 * the sample type bits from the leader's sample_type to cover that 91 attr->sample_type = read_sampler->core.attr.sample_type | 92 leader->core.attr.sample_type; 129 if (evsel->core.attr.sample_type == first->core.attr.sample_type)
|
H A D | evsel.c | 142 int __evsel__sample_size(u64 sample_type) argument 144 u64 mask = sample_type & PERF_SAMPLE_MASK; 160 * @sample_type: sample type 166 static int __perf_evsel__calc_id_pos(u64 sample_type) argument 170 if (sample_type & PERF_SAMPLE_IDENTIFIER) 173 if (!(sample_type & PERF_SAMPLE_ID)) 176 if (sample_type & PERF_SAMPLE_IP) 179 if (sample_type & PERF_SAMPLE_TID) 182 if (sample_type & PERF_SAMPLE_TIME) 185 if (sample_type 199 __perf_evsel__calc_is_pos(u64 sample_type) argument 2745 u64 sample_type = evsel->core.attr.sample_type; local [all...] |
/linux-master/tools/perf/python/ |
H A D | twatch.py | 19 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU)
|
H A D | tracepoint.py | 15 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU | perf.SAMPLE_RAW | perf.SAMPLE_TIME)
|
/linux-master/tools/perf/ui/browsers/ |
H A D | scripts.c | 39 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) 41 if (attr->sample_type & PERF_SAMPLE_REGS_INTR) 43 if (attr->sample_type & PERF_SAMPLE_REGS_USER) 45 if (attr->sample_type & PERF_SAMPLE_PHYS_ADDR)
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_stackid_cannot_attach.c | 13 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK, 55 attr.sample_type |= PERF_SAMPLE_CALLCHAIN;
|
H A D | get_branch_snapshot.c | 42 attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
|
/linux-master/samples/bpf/ |
H A D | tracex6_user.c | 108 .sample_type = 0, 117 .sample_type = 0, 126 .sample_type = 0, 136 .sample_type = 0, 148 .sample_type = 0, 161 .sample_type = 0,
|
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-ssp-clk.h | 76 u32 sample_type : 8; member in struct:skl_dmactrl_sclkfs_cfg
|
/linux-master/arch/x86/events/amd/ |
H A D | ibs.c | 960 static void perf_ibs_parse_ld_st_data(__u64 sample_type, argument 978 if (sample_type & PERF_SAMPLE_DATA_SRC) { 983 if (sample_type & PERF_SAMPLE_WEIGHT_TYPE && op_data3.dc_miss && 987 if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT) { 990 } else if (sample_type & PERF_SAMPLE_WEIGHT) { 996 if (sample_type & PERF_SAMPLE_ADDR && op_data3.dc_lin_addr_valid) { 1001 if (sample_type & PERF_SAMPLE_PHYS_ADDR && op_data3.dc_phy_addr_valid) { 1007 static int perf_ibs_get_offset_max(struct perf_ibs *perf_ibs, u64 sample_type, argument 1010 if (sample_type & PERF_SAMPLE_RAW || 1012 (sample_type [all...] |