/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
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() 73 count_pmc(1, sample_period); in multi_counter() 74 count_pmc(2, sample_period); in multi_counter() 75 count_pmc(3, sample_period); in multi_counter() 76 count_pmc(4, sample_period); in multi_counter() [all …]
|
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() 78 count_pmc(4, sample_period); in test_body()
|
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() 399 count_pmc(1, sample_period); in ebb_child()
|
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() 94 count_pmc(1, sample_period); in back_to_back_ebbs()
|
D | cycles_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles() 45 count_pmc(1, sample_period); in cycles() 52 FAIL_IF(!ebb_check_count(1, sample_period, 100)); in cycles()
|
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() 79 count_pmc(2, sample_period); in pmc56_overflow()
|
D | ebb.h | 46 bool ebb_check_count(int pmc, u64 sample_period, int fudge); 60 int count_pmc(int pmc, uint32_t sample_period); 71 extern u64 sample_period;
|
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() 85 count_pmc(1, sample_period); in test_body()
|
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() 102 count_pmc(1, sample_period); in cycles_with_freeze()
|
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()
|
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()
|
D | cycles_with_mmcr2_test.c | 46 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_with_mmcr2() 74 count_pmc(1, sample_period); in cycles_with_mmcr2()
|
D | multi_ebb_procs_test.c | 54 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in cycles_child() 64 count_pmc(1, sample_period); in cycles_child()
|
D | close_clears_pmcc_test.c | 35 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in close_clears_pmcc()
|
D | fork_cleanup_test.c | 60 mtspr(SPRN_PMC1, pmc_sample_period(sample_period)); in fork_cleanup()
|
D | ebb_on_willing_child_test.c | 41 count_pmc(1, sample_period); in victim_child()
|
/external/linux-kselftest/tools/testing/selftests/bpf/verifier/ |
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)),
|
/external/bcc/tools/ |
D | llcstat.py | 84 fn_name="on_cache_miss", sample_period=args.sample_period) 87 fn_name="on_cache_ref", sample_period=args.sample_period)
|
D | profile.py | 218 sample_period = 0 variable 222 sample_period = args.count variable 227 else ("every ", sample_period, "events")) 249 sample_period=sample_period, sample_freq=sample_freq, cpu=args.cpu)
|
/external/perfetto/test/ |
D | client_api_example.cc | 46 int sample_period = 0; in OnSetup() local 48 sample_period = static_cast<int>(config.counter_period_ns()); in OnSetup() 62 args.config->name().c_str(), int(sample_period / 1000000), in OnSetup()
|
/external/bcc/src/python/bcc/ |
D | perf.py | 103 attr.sample_period = freq 105 attr.sample_period = 1
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf_perf_event.h | 15 __u64 sample_period; member
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 149 .sample_period = 1, in test_send_signal_tracepoint() 177 .sample_period = 1, in test_send_signal_perf()
|
/external/bcc/src/cc/ |
D | libbpf.c | 735 attr.sample_period = 1; in bpf_try_perf_event_open_with_probe() 810 attr.sample_period = 1; in bpf_attach_tracing_event() 1185 attr.sample_period = 1; in bpf_open_perf_buffer() 1259 attr.sample_period = LONG_MAX; in bpf_open_perf_event() 1422 uint64_t sample_period, uint64_t sample_freq, in bpf_attach_perf_event() argument 1427 if (!((sample_period > 0) ^ (sample_freq > 0))) { in bpf_attach_perf_event() 1443 attr.sample_period = sample_period; in bpf_attach_perf_event()
|
/external/strace/ |
D | perf_event_struct.h | 11 uint64_t sample_period; member
|