Re: [GIT PULL 00/16] perf/core improvements and fixes

From: David Ahern
Date: Tue Feb 14 2012 - 00:23:41 EST


On 2/13/12 10:10 PM, Namhyung Kim wrote:


It happened because I used old kernel version that isn't aware of the
exclude_guest bit. So the check on attr->__reserved_1 in
core.c::perf_copy_attr() failed and then ended up seeing EINVAL at
perf_evsel__open().

comes back to 1aed2671738785e8f5aea663a6fda91aa7ef59b5 again. See

https://lkml.org/lkml/2012/2/8/234


So I think it should be handled in the same way of handling
sample_id_all bit in perf record and top if we want to set perf_guest to
false by default. I'll send patches for them soon.

Thanks,
Namhyung

--
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/