/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | verifier_unpriv_perf.c | 23 r1 = *(u64*)(r1 + %[sample_period]); \ 28 -(__s32) offsetof(struct bpf_perf_event_data, sample_period) - 8), 29 __imm_const(sample_period, 30 offsetof(struct bpf_perf_event_data, sample_period))
|
/linux-master/include/uapi/linux/ |
H A D | bpf_perf_event.h | 15 __u64 sample_period; member in struct:bpf_perf_event_data
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf_perf_event.h | 15 __u64 sample_period; member in struct:bpf_perf_event_data
|
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | perf_event_sample_period.c | 2 "check bpf_perf_event_data->sample_period byte load permitted", 7 offsetof(struct bpf_perf_event_data, sample_period)), 10 offsetof(struct bpf_perf_event_data, sample_period) + 7), 18 "check bpf_perf_event_data->sample_period half load permitted", 23 offsetof(struct bpf_perf_event_data, sample_period)), 26 offsetof(struct bpf_perf_event_data, sample_period) + 6), 34 "check bpf_perf_event_data->sample_period word load permitted", 39 offsetof(struct bpf_perf_event_data, sample_period)), 42 offsetof(struct bpf_perf_event_data, sample_period) + 4), 50 "check bpf_perf_event_data->sample_period dwor [all...] |
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | lost_exception_test.c | 49 orig_period = max_period = sample_period = 400; 51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); 66 if (sample_period >= (orig_period + 200)) 67 sample_period = orig_period; 69 sample_period++; 71 if (sample_period > max_period) 72 max_period = sample_period;
|
H A D | multi_counter_test.c | 58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); 59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); 60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); 61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); 62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); 63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period));
|
H A D | cycles_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); 50 FAIL_IF(!ebb_check_count(1, sample_period, 100));
|
H A D | no_handler_test.c | 38 sample_period = 1000; 39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
H A D | back_to_back_ebbs_test.c | 41 count_pmc(1, sample_period); 81 sample_period = 5; 84 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
H A D | ebb.h | 46 bool ebb_check_count(int pmc, u64 sample_period, int fudge); 58 int count_pmc(int pmc, uint32_t sample_period); 69 extern u64 sample_period;
|
H A D | close_clears_pmcc_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
H A D | regs_access_pmccext_test.c | 36 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
H A D | pmae_handling_test.c | 42 count_pmc(1, sample_period); 77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
H A D | pmc56_overflow_test.c | 30 count_pmc(2, sample_period); 69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period));
|
H A D | instruction_count_test.c | 43 count_pmc(4, sample_period); 101 count_pmc(4, sample_period); 125 sample_period = COUNTER_OVERFLOW;
|
H A D | fork_cleanup_test.c | 60 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
H A D | ebb.c | 31 u64 sample_period = 0x40000000ull; variable 71 bool ebb_check_count(int pmc, u64 sample_period, int fudge) argument 77 lower = ebb_state.stats.ebb_count * (sample_period - fudge); 85 upper = ebb_state.stats.ebb_count * (sample_period + fudge); 119 found += count_pmc(i, sample_period); 252 int count_pmc(int pmc, uint32_t sample_period) argument 258 start_value = pmc_sample_period(sample_period); 381 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
H A D | cycles_with_freeze_test.c | 48 count_pmc(1, sample_period); 74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period));
|
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | bhrb_no_crash_wo_pmu_test.c | 40 event.attr.sample_period = 1000;
|
H A D | intr_regs_no_crash_wo_pmu_test.c | 39 event.attr.sample_period = 1000;
|
/linux-master/drivers/thermal/intel/int340x_thermal/ |
H A D | acpi_thermal_rel.h | 49 u64 sample_period; member in struct:trt 64 u64 sample_period; member in struct:psvt 110 u64 sample_period; member in struct:trt_object::__anon2838 121 u64 sample_period; member in struct:psvt_object::__anon2839
|
/linux-master/tools/perf/arch/arm64/util/ |
H A D | arm-spe.c | 118 static __u64 sample_period; local 120 if (sample_period) 121 return sample_period; 128 &sample_period) != 1) { 130 sample_period = 4096; 132 return sample_period; 158 evsel->core.attr.sample_period = arm_spe_pmu__sample_period(arm_spe_pmu); 265 tracking_evsel->core.attr.sample_period = 1; 520 attr->sample_period = arm_spe_pmu__sample_period(arm_spe_pmu);
|
/linux-master/samples/bpf/ |
H A D | trace_event_kern.c | 50 if (ctx->sample_period < 10000) 57 bpf_trace_printk(fmt, sizeof(fmt), cpu, ctx->sample_period,
|
H A D | tracex6_user.c | 104 .sample_period = SAMPLE_PERIOD, 113 .sample_period = SAMPLE_PERIOD, 122 .sample_period = SAMPLE_PERIOD, 132 .sample_period = SAMPLE_PERIOD, 144 .sample_period = SAMPLE_PERIOD, 156 .sample_period = 0,
|
/linux-master/tools/perf/python/ |
H A D | tracepoint.py | 14 freq = 0, sample_period = 1, wakeup_events = 1,
|