diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-08-27 17:05:18 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-25 15:51:46 +0300 |
commit | 65aa2e6bae3658cbc84c2e628a5c0ca163686204 (patch) | |
tree | ff64e302aefecb88510a09f44b2e588bc7536411 /tools/perf/lib/include/internal | |
parent | 4443e6d7704ee85412e5cb0a0181d7ceee7e984f (diff) | |
download | linux-65aa2e6bae3658cbc84c2e628a5c0ca163686204.tar.xz |
libperf: Add 'flush' to 'struct perf_mmap'
Move 'flush' 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-19-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/lib/include/internal')
-rw-r--r-- | tools/perf/lib/include/internal/mmap.h | 1 |
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 10653b6e864e..ba1e519c15b9 100644 --- a/tools/perf/lib/include/internal/mmap.h +++ b/tools/perf/lib/include/internal/mmap.h @@ -25,6 +25,7 @@ struct perf_mmap { u64 start; u64 end; bool overwrite; + u64 flush; char event_copy[PERF_SAMPLE_MAX_SIZE] __aligned(8); }; |