aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/mmap.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2018-03-21 15:05:15 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-03-27 13:13:38 -0300
commitb4c786e5aa69c5a75ac3932f81fdf8e8c120c03b (patch)
tree65fb896f745019927c665076e39cf219569c6bf6 /tools/perf/util/mmap.c
parentperf/x86: Update rdpmc_always_available static key to the modern API (diff)
downloadwireguard-linux-b4c786e5aa69c5a75ac3932f81fdf8e8c120c03b.tar.xz
wireguard-linux-b4c786e5aa69c5a75ac3932f81fdf8e8c120c03b.zip
perf build: Fix check-headers.sh opts assignment
Currently the "opts" variable is not zero-ed and we keep on adding to it, ending up with: $ check-headers.sh 2>&1 + opts=' "-B"' + opts=' "-B" "-B"' + opts=' "-B" "-B" "-B"' + opts=' "-B" "-B" "-B" "-B"' + opts=' "-B" "-B" "-B" "-B" "-B"' + opts=' "-B" "-B" "-B" "-B" "-B" "-B"' Fix this by initializing it in the check() function, right before starting the loop. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180321140515.2252-1-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/mmap.c')
0 files changed, 0 insertions, 0 deletions