linux_dsm_epyc7002/tools/perf/arch/x86
Kan Liang b9bae2c841 perf mmap: Simplify perf_mmap__read_init()
It isn't necessary to pass the 'start', 'end' and 'overwrite' arguments
to perf_mmap__read_init().  The data is stored in the struct perf_mmap.

Discard the parameters.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1520350567-80082-8-git-send-email-kan.liang@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-03-08 10:05:53 -03:00
..
annotate Merge branch 'linus' into perf/core, to fix conflicts 2017-11-07 10:30:18 +01:00
entry/syscalls License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
include Merge branch 'linus' into perf/core, to fix conflicts 2017-11-07 10:30:18 +01:00
tests perf mmap: Simplify perf_mmap__read_init() 2018-03-08 10:05:53 -03:00
util perf record: Fix failed memory allocation for get_cpuid_str 2018-01-17 10:31:25 -03:00
Build perf tests: Add arch tests 2015-10-05 16:55:38 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00