Commit e16fd7f
perf: Use sample_flags for data_src
Use the new sample_flags to indicate whether the data_src field is
filled by the PMU driver.
Remove the data_src field from the perf_sample_data_init() to minimize
the number of cache lines touched.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220901130959.1285717-6-kan.liang@linux.intel.com1 parent 2abe681 commit e16fd7f
File tree
4 files changed
+13
-5
lines changed- arch
- powerpc/perf
- x86/events/intel
- include/linux
- kernel/events
4 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2301 | 2301 | | |
2302 | 2302 | | |
2303 | 2303 | | |
2304 | | - | |
| 2304 | + | |
2305 | 2305 | | |
| 2306 | + | |
| 2307 | + | |
2306 | 2308 | | |
2307 | 2309 | | |
2308 | 2310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1535 | 1535 | | |
1536 | 1536 | | |
1537 | 1537 | | |
1538 | | - | |
| 1538 | + | |
1539 | 1539 | | |
| 1540 | + | |
| 1541 | + | |
1540 | 1542 | | |
1541 | 1543 | | |
1542 | 1544 | | |
| |||
1770 | 1772 | | |
1771 | 1773 | | |
1772 | 1774 | | |
1773 | | - | |
| 1775 | + | |
1774 | 1776 | | |
| 1777 | + | |
| 1778 | + | |
1775 | 1779 | | |
1776 | 1780 | | |
1777 | 1781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
1016 | | - | |
1017 | 1016 | | |
1018 | 1017 | | |
1019 | 1018 | | |
1020 | 1019 | | |
1021 | 1020 | | |
1022 | 1021 | | |
1023 | 1022 | | |
| 1023 | + | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
1066 | | - | |
1067 | 1066 | | |
1068 | 1067 | | |
1069 | 1068 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7411 | 7411 | | |
7412 | 7412 | | |
7413 | 7413 | | |
| 7414 | + | |
| 7415 | + | |
| 7416 | + | |
7414 | 7417 | | |
7415 | 7418 | | |
7416 | 7419 | | |
| |||
0 commit comments