diff options
author | Jiri Olsa <[email protected]> | 2018-03-21 15:05:15 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-27 13:13:38 -0300 |
commit | b4c786e5aa69c5a75ac3932f81fdf8e8c120c03b (patch) | |
tree | 65fb896f745019927c665076e39cf219569c6bf6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 631fe154edb0a37308d0116a0f9b7bba9dca6218 (diff) |
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 <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Ahern <[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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions