| .. | .. |
|---|
| 1113 | 1113 | cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * interval); |
|---|
| 1114 | 1114 | |
|---|
| 1115 | 1115 | raw_spin_lock_init(&cpuctx->hrtimer_lock); |
|---|
| 1116 | | - hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED); |
|---|
| 1116 | + hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED_HARD); |
|---|
| 1117 | 1117 | timer->function = perf_mux_hrtimer_handler; |
|---|
| 1118 | 1118 | } |
|---|
| 1119 | 1119 | |
|---|
| .. | .. |
|---|
| 9307 | 9307 | if (!is_sampling_event(event)) |
|---|
| 9308 | 9308 | return; |
|---|
| 9309 | 9309 | |
|---|
| 9310 | | - hrtimer_init(&hwc->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); |
|---|
| 9310 | + hrtimer_init(&hwc->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); |
|---|
| 9311 | 9311 | hwc->hrtimer.function = perf_swevent_hrtimer; |
|---|
| 9312 | 9312 | |
|---|
| 9313 | 9313 | /* |
|---|