> So I think we are good to go. to capture multiplexing scaling factor > when sampling simply use the S > modifier. > But to my surprise, newer kernels are not happy with the cmdline: > $ perf record -e cycles:S noploop 1 > Error: > The sys_perf_event_open() syscall returned with 22 (Invalid argument) > for event (cycles:Su). > /bin/dmesg may provide additional information. > No CONFIG_PERF_EVENTS=y kernel support configured?
Likely due to ba5213ae6b88 perf/core: Correct event creation with PERF_FORMAT_GROUP It's not supported with inherited events. -Andi