Home
last modified time | relevance | path

Searched refs:sample_period (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dwatchdog.c169 static u64 __read_mostly sample_period; variable
253 sample_period = get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5); in set_sample_period()
254 watchdog_update_hrtimer_threshold(sample_period); in set_sample_period()
384 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()
495 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
Dwatchdog_hld.c173 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
/kernel/events/
Dcore.c3668 s64 period, sample_period; in perf_adjust_period() local
3673 delta = (s64)(period - hwc->sample_period); in perf_adjust_period()
3676 sample_period = hwc->sample_period + delta; in perf_adjust_period()
3678 if (!sample_period) in perf_adjust_period()
3679 sample_period = 1; in perf_adjust_period()
3681 hwc->sample_period = sample_period; in perf_adjust_period()
3683 if (local64_read(&hwc->period_left) > 8*sample_period) { in perf_adjust_period()
5085 event->attr.sample_period = value; in __perf_event_period()
5086 event->hw.sample_period = value; in __perf_event_period()
8250 hwc->last_period = hwc->sample_period; in perf_swevent_set_period()
[all …]
Dhw_breakpoint.c628 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
/kernel/trace/
Dbpf_trace.c1127 case bpf_ctx_range(struct bpf_perf_event_data, sample_period): in pe_prog_is_valid_access()
1153 case offsetof(struct bpf_perf_event_data, sample_period): in pe_prog_convert_ctx_access()