perf scripts python: exported-sql-viewer.py: Use argparse module for argument parsing
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 12 Apr 2019 11:38:24 +0000 (14:38 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2019 21:37:45 +0000 (18:37 -0300)
commit1ed7f47fd3af3c09d2cd64d1aff1c5b96d238111
tree8c99c153c9e128d9ffeb3226ae7abc7a65c6c928
parentc6aba1bf258ff1ce201f112dafe1bdde601573dd
perf scripts python: exported-sql-viewer.py: Use argparse module for argument parsing

The argparse module makes it easier to add new arguments.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190412113830.4126-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py