Commit 920c557
perf sort: Replace static cacheline size with sysconf cacheline size
Testing:
- Built perf
- Executed perf mem record and report
Committer notes:
This addresses a TODO and improves the situation where record and
report/c2c are performed on the same machine or in machines with the
same cacheline size, but the proper way is to store the cacheline size
in the perf.data header at 'record' time and then use it at post
processing time.
Signed-off-by: Ricky Ringler <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>1 parent c73a56e commit 920c557
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2474 | 2474 | | |
2475 | 2475 | | |
2476 | 2476 | | |
2477 | | - | |
2478 | | - | |
| 2477 | + | |
2479 | 2478 | | |
2480 | 2479 | | |
2481 | 2480 | | |
| |||
2484 | 2483 | | |
2485 | 2484 | | |
2486 | 2485 | | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
2487 | 2490 | | |
2488 | 2491 | | |
2489 | 2492 | | |
| |||
2499 | 2502 | | |
2500 | 2503 | | |
2501 | 2504 | | |
2502 | | - | |
2503 | | - | |
| 2505 | + | |
| 2506 | + | |
2504 | 2507 | | |
2505 | 2508 | | |
2506 | 2509 | | |
2507 | 2510 | | |
2508 | 2511 | | |
2509 | 2512 | | |
2510 | 2513 | | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
2511 | 2518 | | |
2512 | 2519 | | |
2513 | | - | |
| 2520 | + | |
2514 | 2521 | | |
2515 | 2522 | | |
2516 | 2523 | | |
| |||
0 commit comments