Re: [PATCH] perf, ibs: Check syscall attribute flags
From: David Ahern
Date: Fri Sep 07 2012 - 13:11:52 EST
On 9/7/12 11:07 AM, Robert Richter wrote:
Am I reading this right - if exclude_guest is set then perf_ibs_init
returns -EINVAL?
Yes, the hardware does not support this. I will look for a solution
which emulates this is software.
ugh, that's exactly we need for Intel: if precise is set, exclude_guest
must be set.
In perf I would like to set exclude_guest if precise is set -- what I
mentioned yesterday for the patch https://lkml.org/lkml/2012/7/20/437.
With my patch -e cycles:p on AMD will then fail EINVAL.
David
--
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/