summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-08-22 17:56:13 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-26 18:44:33 +0300
commit6fca36f1d82ad5bc385187f0aed93bbaefaa2172 (patch)
tree91428edf9cfde9f5f51a2566f47636357a1c7640 /tools/perf/scripts/python/exported-sql-viewer.py
parent0a7d376d04a3c84b503f1efecde8f9d9a7430269 (diff)
downloadlinux-6fca36f1d82ad5bc385187f0aed93bbaefaa2172.tar.xz
gen_compile_commands: make -o option independent of -d option
Change the -o option independent of the -d option, which is I think clearer behavior. Some people may like to use -d to specify a separate output directory, but still output the compile_commands.py in the source directory (unless the source tree is read-only) because it is the default location Clang Tools search for the compilation database. Also, move the default parameter to the default= argument of the .add_argument(). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions