]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - tools/perf/builtin-record.c
perf tools: Add 'struct perf_mmap' arg to record__write()
authorJiri Olsa <jolsa@kernel.org>
Thu, 13 Sep 2018 12:54:06 +0000 (14:54 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Sep 2018 13:25:11 +0000 (10:25 -0300)
commitded2b8fe2e431d8029ab50238744fcce06a2f0c6
tree08c879bd263d0260bd7f05ab7c23c16cb9f518cc
parente035f4ca2ac97c30842fb03101198a86730de3ad
perf tools: Add 'struct perf_mmap' arg to record__write()

The struct perf_mmap map argument will hold the file pointer to write
the data to.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180913125450.21342-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/auxtrace.c
tools/perf/util/auxtrace.h
tools/perf/util/mmap.c
tools/perf/util/mmap.h