[PATCH 31/37] perf evlist: Set the leader in the perf_evlist__config method

2012-12-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since we need to ensure the leader is set before configuring the evsel perf_event_attrs. Reducing the boilerplate needed by tools, helping, for instance, 'perf trace', that wasn't setting the leader. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc:

[PATCH 31/37] perf evlist: Set the leader in the perf_evlist__config method

2012-12-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com Since we need to ensure the leader is set before configuring the evsel perf_event_attrs. Reducing the boilerplate needed by tools, helping, for instance, 'perf trace', that wasn't setting the leader. Cc: David Ahern dsah...@gmail.com Cc: Frederic