libperf: Add prev/start/end to struct perf_mmap
authorJiri Olsa <jolsa@kernel.org>
Sat, 27 Jul 2019 20:39:53 +0000 (22:39 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2019 12:51:46 +0000 (09:51 -0300)
commitebe4d72bba86a499ea0935c58ba1c2aea5aafb43
treedb2f26cfcbe048a9e79accc21bbec92fcdaed030
parente03edfeac0330eaa2b19b82fc942611c1abf2120
libperf: Add prev/start/end to struct perf_mmap

Move prev/start/end from tools/perf's mmap to libperf's perf_mmap struct.

Committer notes:

Add linux/types.h as we use u64.

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-16-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/lib/include/internal/mmap.h
tools/perf/util/mmap.c
tools/perf/util/mmap.h