]> git.baikalelectronics.ru Git - kernel.git/commit
perf scripts python: exported-sql-viewer.py: Fix missing shebang
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 22 Feb 2019 07:27:18 +0000 (09:27 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Feb 2019 19:52:07 +0000 (16:52 -0300)
commit0a22c0a0bdbd3e990a509f2d8b2c1f09003a378b
treefbfd5962cb568bebbf92af8f3a89211166be3ad0
parente141c80b35834fa43e50e7f2e2b0b85a9bbe687a
perf scripts python: exported-sql-viewer.py: Fix missing shebang

exported-sql-viewer.py is a standalone python script and requires a
shebang. Also only python2 is supported at present. Restore the shebang
but use the more flexible 'env' form.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org
Fixes: b6dab7caf84b ("perf script python: Remove explicit shebang from Python script")
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py