Re: [PATCH 02/18] perf evsel: Convert to _is_group_leader method

2012-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2012 at 03:38:30PM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > Convert perf_evsel__is_group_member to perf_evsel__is_group_leader. > This is because the most usecases are using negative form to check > whether the given evsel is a leader or not and it's IMHO somewhat > amb

[PATCH 02/18] perf evsel: Convert to _is_group_leader method

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Convert perf_evsel__is_group_member to perf_evsel__is_group_leader. This is because the most usecases are using negative form to check whether the given evsel is a leader or not and it's IMHO somewhat ambiguous - leader also *is* a member of the group. Signed-off-by: Namhyung