Repository navigation
Commit ffb871b
x86, perf: Disable non available architectural events
Intel CPUs report non-available architectural events in cpuid leaf
0AH.EBX. Use it to disable events that are not available according
to CPU.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1320929850-10480-7-git-send-email-gleb@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>1 parent ac99b86 commit ffb871b
3 files changed
Lines changed: 42 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
75 | 89 | | |
76 | 90 | | |
77 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
288 | 293 | | |
289 | 294 | | |
290 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1552 | 1552 | | |
1553 | 1553 | | |
1554 | 1554 | | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
1555 | 1565 | | |
1556 | 1566 | | |
1557 | 1567 | | |
1558 | 1568 | | |
| 1569 | + | |
1559 | 1570 | | |
1560 | | - | |
1561 | | - | |
| 1571 | + | |
1562 | 1572 | | |
1563 | 1573 | | |
1564 | 1574 | | |
| |||
1574 | 1584 | | |
1575 | 1585 | | |
1576 | 1586 | | |
1577 | | - | |
1578 | | - | |
| 1587 | + | |
| 1588 | + | |
1579 | 1589 | | |
1580 | 1590 | | |
1581 | 1591 | | |
| |||
1651 | 1661 | | |
1652 | 1662 | | |
1653 | 1663 | | |
1654 | | - | |
| 1664 | + | |
1655 | 1665 | | |
1656 | 1666 | | |
1657 | 1667 | | |
1658 | 1668 | | |
1659 | 1669 | | |
1660 | 1670 | | |
1661 | 1671 | | |
| 1672 | + | |
1662 | 1673 | | |
1663 | 1674 | | |
1664 | 1675 | | |
| |||
1738 | 1749 | | |
1739 | 1750 | | |
1740 | 1751 | | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
1741 | 1759 | | |
1742 | 1760 | | |
0 commit comments