PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE concurrent monitoring
问题 I'm working on a custom implementation on top of perf_event_open syscall. The implementation aims to support various of PERF_TYPE_HARDWARE , PERF_TYPE_SOFTWARE and PERF_TYPE_HW_CACHE events for specific threads on any core . In Intel® 64 and IA-32 Architectures Software Developer’s Manual vol 3B I see the following for my testing CPU (Kaby Lake): To my understanding so far, one can monitor (theoretically) unlimited PERF_TYPE_SOFTWARE events concurrently but limited (without multiplexing) PERF