From: Joerg Roedel Date: Wed, 5 Oct 2011 12:01:16 +0000 (+0200) Subject: perf, core: Introduce attrs to count in either host or guest mode X-Git-Tag: v3.2-rc1~163^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a240f76165e6255384d4bdb8139895fac7988799;p=pandora-kernel.git perf, core: Introduce attrs to count in either host or guest mode The two new attributes exclude_guest and exclude_host can bes used by user-space to tell the kernel to setup performance counter to either only count while the CPU is in guest or in host mode. An additional check is also introduced to make sure user-space does not try to exclude guest and host mode from counting. Signed-off-by: Joerg Roedel Signed-off-by: Gleb Natapov Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1317816084-18026-2-git-send-email-gleb@redhat.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed