aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorYisheng Xie <[email protected]>2018-03-13 12:31:13 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-03-16 19:33:05 +0000
commit699db111058798bcc9f92a93767062905a561bef (patch)
tree0b2615bd90f2d98d7e30df2ad3a8837f8e0bd6ba /tools/perf/builtin-script.c
parentperf vendor events: Update POWER9 events (diff)
downloadkernel-699db111058798bcc9f92a93767062905a561bef.tar.gz
kernel-699db111058798bcc9f92a93767062905a561bef.zip
perf mmap: Discard head in overwrite_rb_find_range()
In overwrite mode, start will be set to head in perf_mmap__read_init(). Therefore, there is no need to set the start one more time in overwrite_rb_find_range() and *start can be used as head instead of passing head to overwrite_rb_find_range(). Signed-off-by: Yisheng Xie <[email protected]> Reviewed-by: Kan Liang <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions