summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSourabh Jain <sourabhjain@linux.ibm.com>2023-06-13 22:11:29 +0530
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-06-13 23:40:33 -0300
commit75782e825377bd2745c0231a0f3483888514acb6 (patch)
treee2d74a02d9933e25098eb806654007e27f46cad3 /tools
parent0cd1ca4650c9cf5f318110f67d39cbebae3693b3 (diff)
downloadlinux-75782e825377bd2745c0231a0f3483888514acb6.tar.gz
linux-75782e825377bd2745c0231a0f3483888514acb6.tar.bz2
linux-75782e825377bd2745c0231a0f3483888514acb6.zip
perf python scripting: Get rid of unused import in arm-cs-trace-disasm
The arm-cs-trace-disasm.py script doesn't use the sys library, so remove the import. Report by pylint: W0611: Unused import sys (unused-import) Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: Disha Goel <disgoel@linux.vnet.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: John Garry <john.g.garry@oracle.com> Cc: Kajol Jain <kjain@linux.ibm.com> Cc: Madhavan Srinivasan <maddy@linux.ibm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: linuxppc-dev@lists.ozlabs.org Link: https://lore.kernel.org/linux-perf-users/20230613164145.50488-2-atrajeev@linux.vnet.ibm.com Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/perf/scripts/python/arm-cs-trace-disasm.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/arm-cs-trace-disasm.py b/tools/perf/scripts/python/arm-cs-trace-disasm.py
index 4339692a8d0b..d59ff53f1d94 100755
--- a/tools/perf/scripts/python/arm-cs-trace-disasm.py
+++ b/tools/perf/scripts/python/arm-cs-trace-disasm.py
@@ -9,7 +9,6 @@
from __future__ import print_function
import os
from os import path
-import sys
import re
from subprocess import *
from optparse import OptionParser, make_option