[PATCH 17/24] perf evlist: Default to syswide target when no thread/cpu maps set

2014-10-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo If all a tool wants is to do system wide event monitoring, there is no more the need to setup thread_map and cpu_map objects, just call perf_evlist__open() and it will do create one fd per CPU monitoring all threads. Cc: Adrian Hunter Cc: Borislav Petkov Cc:

[PATCH 17/24] perf evlist: Default to syswide target when no thread/cpu maps set

2014-10-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com If all a tool wants is to do system wide event monitoring, there is no more the need to setup thread_map and cpu_map objects, just call perf_evlist__open() and it will do create one fd per CPU monitoring all threads. Cc: Adrian Hunter