Commit 318c498
perf/x86/intel: Reorganize attrs and is_visible
Some attrs and is_visible implementations are rather far away from one
another which makes the whole thing hard to interpret.
There are only two attribute groups which have both .attrs and
.is_visible, group_default and group_caps_lbr. Move them together.
No functional changes.
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20231025201626.3000228-4-kan.liang@linux.intel.com1 parent 1f2376c commit 318c498
1 file changed
+15
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5540 | 5540 | | |
5541 | 5541 | | |
5542 | 5542 | | |
| 5543 | + | |
| 5544 | + | |
| 5545 | + | |
| 5546 | + | |
| 5547 | + | |
| 5548 | + | |
5543 | 5549 | | |
5544 | 5550 | | |
5545 | 5551 | | |
| |||
5566 | 5572 | | |
5567 | 5573 | | |
5568 | 5574 | | |
| 5575 | + | |
| 5576 | + | |
| 5577 | + | |
| 5578 | + | |
| 5579 | + | |
| 5580 | + | |
| 5581 | + | |
| 5582 | + | |
| 5583 | + | |
5569 | 5584 | | |
5570 | 5585 | | |
5571 | 5586 | | |
| |||
5587 | 5602 | | |
5588 | 5603 | | |
5589 | 5604 | | |
5590 | | - | |
5591 | | - | |
5592 | | - | |
5593 | | - | |
5594 | | - | |
5595 | | - | |
5596 | 5605 | | |
5597 | 5606 | | |
5598 | 5607 | | |
5599 | 5608 | | |
5600 | 5609 | | |
5601 | 5610 | | |
5602 | | - | |
5603 | | - | |
5604 | | - | |
5605 | | - | |
5606 | | - | |
5607 | | - | |
5608 | | - | |
5609 | | - | |
5610 | | - | |
5611 | 5611 | | |
5612 | 5612 | | |
5613 | 5613 | | |
| |||
0 commit comments