.. | .. |
---|
364 | 364 | |
---|
365 | 365 | /* pass precise event sampling to ibs: */ |
---|
366 | 366 | if (event->attr.precise_ip && get_ibs_caps()) |
---|
367 | | - return -ENOENT; |
---|
| 367 | + return forward_event_to_ibs(event); |
---|
368 | 368 | |
---|
369 | 369 | if (has_branch_stack(event)) |
---|
370 | 370 | return -EOPNOTSUPP; |
---|
.. | .. |
---|
976 | 976 | * numbered counter following it. |
---|
977 | 977 | */ |
---|
978 | 978 | for (i = 0; i < x86_pmu.num_counters - 1; i += 2) |
---|
979 | | - even_ctr_mask |= 1 << i; |
---|
| 979 | + even_ctr_mask |= BIT_ULL(i); |
---|
980 | 980 | |
---|
981 | 981 | pair_constraint = (struct event_constraint) |
---|
982 | 982 | __EVENT_CONSTRAINT(0, even_ctr_mask, 0, |
---|