[lkml]   [2019]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[tip:perf/core] perf/doc: Update design.txt for exclude_{host|guest} flags
Commit-ID:  23e232bd986a3024d589cbdbd64e078574d70794
Author: Andrew Murray <>
AuthorDate: Thu, 10 Jan 2019 13:53:23 +0000
Committer: Ingo Molnar <>
CommitDate: Mon, 21 Jan 2019 11:01:18 +0100

perf/doc: Update design.txt for exclude_{host|guest} flags

Update design.txt to reflect the presence of the exclude_host
and exclude_guest perf flags.

Signed-off-by: Andrew Murray <>
Signed-off-by: Peter Zijlstra (Intel) <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Benjamin Herrenschmidt <>
Cc: Borislav Petkov <>
Cc: Ivan Kokshaysky <>
Cc: Linus Torvalds <>
Cc: Mark Rutland <>
Cc: Matt Turner <>
Cc: Michael Ellerman <>
Cc: Paul Mackerras <>
Cc: Peter Zijlstra <>
Cc: Richard Henderson <>
Cc: Russell King <>
Cc: Sascha Hauer <>
Cc: Shawn Guo <>
Cc: Thomas Gleixner <>
Cc: Will Deacon <>
Signed-off-by: Ingo Molnar <>
tools/perf/design.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tools/perf/design.txt b/tools/perf/design.txt
index a28dca2582aa..0453ba26cdbd 100644
--- a/tools/perf/design.txt
+++ b/tools/perf/design.txt
@@ -222,6 +222,10 @@ The 'exclude_user', 'exclude_kernel' and 'exclude_hv' bits provide a
way to request that counting of events be restricted to times when the
CPU is in user, kernel and/or hypervisor mode.

+Furthermore the 'exclude_host' and 'exclude_guest' bits provide a way
+to request counting of events restricted to guest and host contexts when
+using Linux as the hypervisor.
The 'mmap' and 'munmap' bits allow recording of PROT_EXEC mmap/munmap
operations, these can be used to relate userspace IP addresses to actual
code, even after the mapping (or even the whole process) is gone,
 \ /
  Last update: 2019-01-21 12:17    [W:0.120 / U:53.580 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site