[PATCH 15/24] perf thread_map: Create dummy constructor out of open coded equivalent

2014-10-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Create a dummy thread_map, one that has just one entry and it is -1, meaning 'all threads', as this ends up going down to perf_event_open(). Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jean Pihet Cc: Jiri

[PATCH 15/24] perf thread_map: Create dummy constructor out of open coded equivalent

2014-10-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com Create a dummy thread_map, one that has just one entry and it is -1, meaning 'all threads', as this ends up going down to perf_event_open(). Cc: Adrian Hunter adrian.hun...@intel.com Cc: Borislav Petkov b...@suse.de Cc: David Ahern dsah...@gmail.com