Searched refs:freq (Results 1 – 4 of 4) sorted by relevance
/samples/bpf/ |
D | sampleip_user.c | 36 static int sampling_start(int freq, struct bpf_program *prog, in sampling_start() argument 43 .freq = 1, in sampling_start() 44 .sample_period = freq, in sampling_start() 141 int opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS, error = 1; in main() local 151 freq = atoi(optarg); in main() 161 if (freq == 0 || secs == 0) { in main() 211 freq, secs); in main() 212 if (sampling_start(freq, prog, links) != 0) in main()
|
D | tracex6_user.c | 104 .freq = 0, in test_bpf_perf_event() 113 .freq = 0, in test_bpf_perf_event() 122 .freq = 0, in test_bpf_perf_event() 132 .freq = 0, in test_bpf_perf_event() 144 .freq = 0, in test_bpf_perf_event() 156 .freq = 0, in test_bpf_perf_event()
|
D | trace_event_user.c | 220 .freq = 1, in test_bpf_perf_event() 226 .freq = 1, in test_bpf_perf_event() 232 .freq = 1, in test_bpf_perf_event() 241 .freq = 1, in test_bpf_perf_event() 250 .freq = 1, in test_bpf_perf_event() 257 .freq = 1, in test_bpf_perf_event()
|
/samples/timers/ |
D | hpet_example.c | 133 unsigned long freq; in hpet_poll() local 146 freq = atoi(argv[1]); in hpet_poll() 156 if (ioctl(fd, HPET_IRQFREQ, freq) < 0) { in hpet_poll() 225 unsigned long freq; in hpet_fasync() local 258 freq = atoi(argv[1]); in hpet_fasync() 261 if (ioctl(fd, HPET_IRQFREQ, freq) < 0) { in hpet_fasync()
|