Re: [PATCH] perf kvm: fix sample_type manipulation

From: David Ahern
Date: Fri Sep 06 2013 - 13:39:59 EST


On 9/6/13 12:48 AM, Adrian Hunter wrote:
Manipulating the sample_type of an evsel requires
the use of:
perf_evsel__set_sample_bit()
and perf_evsel__reset_sample_bit()

Manipulating the sample type of an evlist requires
the id position to be recalculated.

Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>


Fixes the regression. Thanks for taking care of it

Tested-by-and-Acked-by: David Ahern <dsahern@xxxxxxxxx>
--
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/