summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorKan Liang <kan.liang@intel.com>2018-01-18 13:26:21 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-02-15 09:53:06 -0300
commitb4b036b4c76341a5034e872aca3727c4988a7304 (patch)
treee9f6bde2c1c8aab976f4333d0ff02fb40e8af15b /usr
parent189f2cc91f9f2efef5d5f4dde43684c01b5f6f2f (diff)
perf mmap: Discard 'prev' in perf_mmap__read()
The 'start' and 'prev' variables are duplicates in perf_mmap__read(). Use 'map->prev' to replace 'start' in perf_mmap__read_*(). Suggested-by: Wang Nan <wangnan0@huawei.com> Signed-off-by: Kan Liang <kan.liang@intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1516310792-208685-7-git-send-email-kan.liang@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions