Re: [PATCH 01/12] perf_events: add generic taken branch samplingsupport

From: Peter Zijlstra
Date: Thu Oct 06 2011 - 13:01:39 EST


On Thu, 2011-10-06 at 16:49 +0200, Stephane Eranian wrote:
> +enum perf_branch_sample_type {
> + PERF_SAMPLE_BRANCH_USER = 1U << 0, /* user level branches */
> + PERF_SAMPLE_BRANCH_KERNEL = 1U << 1, /* kernel level branches */


I just merged a patch-set that adds guest/host muck as well, would it
make sense to extend this stuff to support that as well?

> + PERF_SAMPLE_BRANCH_ANY = 1U << 2, /* any branch types */
> + PERF_SAMPLE_BRANCH_ANY_CALL = 1U << 3, /* any call branch */
> + PERF_SAMPLE_BRANCH_ANY_RETURN = 1U << 4, /* any return branch */
> + PERF_SAMPLE_BRANCH_IND_CALL = 1U << 5, /* indirect calls */
> +
> + PERF_SAMPLE_BRANCH_MAX = 1U << 6,/* non-ABI */
> +}
--
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/