On Fri, 13 Mar 2015, William Cohen wrote: > Why not have a perf_event_open with pid=-1 and cpu=-1 mean > system-wide event and aggregate it in the kernel when the value is read? > The line below from design.txt specifically say it is invalid.
you might have more luck asking questions like this on linux-kernel, I'm not sure if many of the actual kernel developers hang out on linux-perf-users. >From what I gather, having aggregate system-wide events in the kernel adds a lot of kernel overhead for not much benefit, as you can always aggregate yourself in userspace (which is what I think the perf tool does). Vince -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
