| commit | 2ab28262c983068a3584cf25d37d1a444b058cbe | [log] [tgz] |
|---|---|---|
| author | Andi Kleen <ak@linux.intel.com> | Mon Oct 07 14:57:10 2019 -0700 |
| committer | Andi Kleen <ak@linux.intel.com> | Sun Oct 20 05:24:03 2019 -0700 |
| tree | 73e1e3849f84404ee0924c85e378a3a4fc733adc | |
| parent | 9e512320b46198c8a69cfb8bdd9bb340790cbb42 [diff] |
perf stat: Use affinity for enabling/disabling events Restructure event enabling/disabling to use affinity, which minimizes the number of IPIs needed. Before on a large test case with 94 CPUs: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 54.65 1.899986 22 84812 660 ioctl after: 39.21 0.930451 10 84796 644 ioctl Signed-off-by: Andi Kleen <ak@linux.intel.com>