From: Hendrik Brueckner Date: Thu, 12 Dec 2013 16:54:57 +0000 (+0100) Subject: s390/cpum_sf: Detect KVM guest samples X-Git-Tag: v3.14-rc1~184^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=443e802bab16916f9a51a34f2213f4dee6e8762c;p=pandora-kernel.git s390/cpum_sf: Detect KVM guest samples The host-program-parameter (hpp) value of basic sample-data-entries designates a SIE control block that is set by the LPP instruction in sie64a(). Non-zero values indicate guest samples, a value of zero indicates a host sample. For perf samples, host and guest samples are distinguished using particular PERF_MISC_* flags. The perf layer calls perf_misc_flags() to set the flags based on the pt_regs content. For each sample-data-entry, the cpum_sf PMU creates a pt_regs structure with the sample-data information. An additional flag structure is added to easily distinguish between host and guest samples. Signed-off-by: Hendrik Brueckner Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed