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

From: Jiri Olsa
Date: Thu Nov 29 2012 - 09:28:37 EST


On Thu, Nov 29, 2012 at 03:38:30PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>
> 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 Kim <namhyung@xxxxxxxxxx>
> ---

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/