summaryrefslogtreecommitdiff
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2014-05-19 19:13:49 (GMT)
committerJiri Olsa <jolsa@kernel.org>2014-06-09 11:34:45 (GMT)
commit7ef807034ef33f8afe33fa7957c73954e8e4f89c (patch)
treee463ee2fc5566d80059985587b60d8ffcbdc5aa7 /tools/perf/util/event.h
parentf972eb63b1003fae68d7b7e9b674d4ba5db681c2 (diff)
downloadlinux-7ef807034ef33f8afe33fa7957c73954e8e4f89c.tar.xz
perf tools: Update mmap2 interface with protection and flag bits
The kernel piece passes more info now. Update the perf tool to reflect that and adjust the synthesized maps to play along. Signed-off-by: Don Zickus <dzickus@redhat.com> Link: http://lkml.kernel.org/r/1400526833-141779-4-git-send-email-dzickus@redhat.com Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r--tools/perf/util/event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index d970232..9ba2eb3 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -27,6 +27,8 @@ struct mmap2_event {
u32 min;
u64 ino;
u64 ino_generation;
+ u32 prot;
+ u32 flags;
char filename[PATH_MAX];
};