summaryrefslogtreecommitdiffstats
path: root/tools/perf/lib
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2019-07-27 22:27:55 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-25 09:51:45 -0300
commit4fd0cef2c7b6469abfeef1f9bd056265ce369b13 (patch)
tree3ad0ec5b6f1c5bf19a4e728d93b7f40cb5f786cb /tools/perf/lib
parent547740f7b357cd91cca1fab5d7bf3a37469f7587 (diff)
downloadlinux-4fd0cef2c7b6469abfeef1f9bd056265ce369b13.tar.bz2
libperf: Add 'mask' to struct perf_mmap
Move 'mask' from tools/perf's mmap to libperf's perf_mmap struct. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lore.kernel.org/lkml/20190913132355.21634-12-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/lib')
-rw-r--r--tools/perf/lib/include/internal/mmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/lib/include/internal/mmap.h b/tools/perf/lib/include/internal/mmap.h
index 2ef051901f48..1caa1e8ee5c6 100644
--- a/tools/perf/lib/include/internal/mmap.h
+++ b/tools/perf/lib/include/internal/mmap.h
@@ -9,6 +9,7 @@
*/
struct perf_mmap {
void *base;
+ int mask;
};
#endif /* __LIBPERF_INTERNAL_MMAP_H */