| /tools/testing/selftests/powerpc/pmu/ebb/ |
| A D | lost_exception_test.c | 49 orig_period = max_period = sample_period = 400; in test_body() 51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body() 66 if (sample_period >= (orig_period + 200)) in test_body() 67 sample_period = orig_period; in test_body() 69 sample_period++; in test_body() 71 if (sample_period > max_period) in test_body() 72 max_period = sample_period; in test_body()
|
| A D | multi_counter_test.c | 58 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in multi_counter() 59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter() 60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter() 61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter() 62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); in multi_counter() 63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
|
| 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;
|
| A D | back_to_back_ebbs_test.c | 41 count_pmc(1, sample_period); in ebb_callee() 81 sample_period = 5; in back_to_back_ebbs() 84 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in back_to_back_ebbs()
|
| A D | no_handler_test.c | 38 sample_period = 1000; in no_handler_test() 39 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in no_handler_test()
|
| A D | ebb.c | 31 u64 sample_period = 0x40000000ull; variable 71 bool ebb_check_count(int pmc, u64 sample_period, int fudge) in ebb_check_count() argument 77 lower = ebb_state.stats.ebb_count * (sample_period - fudge); in ebb_check_count() 85 upper = ebb_state.stats.ebb_count * (sample_period + fudge); in ebb_check_count() 119 found += count_pmc(i, sample_period); in standard_ebb_callee() 252 int count_pmc(int pmc, uint32_t sample_period) in count_pmc() argument 258 start_value = pmc_sample_period(sample_period); in count_pmc() 381 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in ebb_child()
|
| A D | cycles_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles() 50 FAIL_IF(!ebb_check_count(1, sample_period, 100)); in cycles()
|
| A D | pmae_handling_test.c | 42 count_pmc(1, sample_period); in syscall_ebb_callee() 77 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in test_body()
|
| A D | pmc56_overflow_test.c | 30 count_pmc(2, sample_period); in ebb_callee() 69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in pmc56_overflow()
|
| A D | instruction_count_test.c | 43 count_pmc(4, sample_period); in do_count_loop() 101 count_pmc(4, sample_period); in pmc4_ebb_callee() 125 sample_period = COUNTER_OVERFLOW; in instruction_count()
|
| A D | cycles_with_freeze_test.c | 48 count_pmc(1, sample_period); in ebb_callee() 74 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_freeze()
|
| /tools/testing/selftests/bpf/verifier/ |
| A D | perf_event_sample_period.c | 7 offsetof(struct bpf_perf_event_data, sample_period)), 10 offsetof(struct bpf_perf_event_data, sample_period) + 7), 23 offsetof(struct bpf_perf_event_data, sample_period)), 26 offsetof(struct bpf_perf_event_data, sample_period) + 6), 39 offsetof(struct bpf_perf_event_data, sample_period)), 42 offsetof(struct bpf_perf_event_data, sample_period) + 4), 54 offsetof(struct bpf_perf_event_data, sample_period)),
|
| /tools/testing/selftests/bpf/progs/ |
| A D | verifier_unpriv_perf.c | 28 -(__s32) offsetof(struct bpf_perf_event_data, sample_period) - 8), in fill_of_different_pointers_ldx() 29 __imm_const(sample_period, in fill_of_different_pointers_ldx() 30 offsetof(struct bpf_perf_event_data, sample_period)) in fill_of_different_pointers_ldx()
|
| /tools/perf/tests/shell/attr/ |
| A D | test-record-group2 | 11 sample_period=1234000 21 sample_period=6789000
|
| A D | test-record-group3 | 11 sample_period=1234000 22 sample_period=6789000
|
| A D | test-record-group-sampling2 | 31 sample_period=10000 59 sample_period=0
|
| A D | test-record-freq | 7 sample_period=100
|
| A D | test-record-no-samples | 7 sample_period=0
|
| A D | test-record-count | 7 sample_period=123
|
| A D | test-record-period | 7 sample_period=100
|
| A D | test-record-pfm-period | 7 sample_period=77777
|
| /tools/perf/arch/arm64/util/ |
| A D | arm-spe.c | 234 static __u64 sample_period; in arm_spe_pmu__sample_period() local 236 if (sample_period) in arm_spe_pmu__sample_period() 237 return sample_period; in arm_spe_pmu__sample_period() 244 &sample_period) != 1) { in arm_spe_pmu__sample_period() 246 sample_period = 4096; in arm_spe_pmu__sample_period() 248 return sample_period; in arm_spe_pmu__sample_period() 256 evsel->core.attr.sample_period = arm_spe_pmu__sample_period(evsel->pmu); in arm_spe_setup_evsel() 369 tracking_evsel->core.attr.sample_period = 1; in arm_spe_setup_tracking_event() 685 attr->sample_period = arm_spe_pmu__sample_period(arm_spe_pmu); in arm_spe_pmu_default_config()
|
| /tools/include/uapi/linux/ |
| A D | bpf_perf_event.h | 15 __u64 sample_period; member
|
| /tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| A D | intr_regs_no_crash_wo_pmu_test.c | 39 event.attr.sample_period = 1000; in intr_regs_no_crash_wo_pmu_test()
|
| A D | bhrb_no_crash_wo_pmu_test.c | 40 event.attr.sample_period = 1000; in bhrb_no_crash_wo_pmu_test()
|