aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTony Jones <tonyj@suse.de>2019-03-01 20:18:57 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-03-06 16:09:14 -0500
commitb504d7f6876515b74c8e27a44ccdb22372616d97 (patch)
treec0591cd27231c653655fdb5b9849582e286168b9 /tools/perf/scripts/python/stackcollapse.py
parentc1d3e633e16db3eb64f519c7099171bfcef94b20 (diff)
perf script python: Remove mixed indentation
Remove mixed indentation in Python scripts. Revert to either all tabs (most common form) or all spaces (4 or 8) depending on what was the intent of the original commit. This is necessary to complete Python3 support as it will flag an error if it encounters mixed indentation. Signed-off-by: Tony Jones <tonyj@suse.de> Link: http://lkml.kernel.org/r/20190302011903.2416-2-tonyj@suse.de Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
-rwxr-xr-xtools/perf/scripts/python/stackcollapse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/stackcollapse.py b/tools/perf/scripts/python/stackcollapse.py
index 5e703efaddcc..b1c4def1410a 100755
--- a/tools/perf/scripts/python/stackcollapse.py
+++ b/tools/perf/scripts/python/stackcollapse.py
@@ -27,7 +27,7 @@ from collections import defaultdict
27from optparse import OptionParser, make_option 27from optparse import OptionParser, make_option
28 28
29sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 29sys.path.append(os.environ['PERF_EXEC_PATH'] + \
30 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') 30 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
31 31
32from perf_trace_context import * 32from perf_trace_context import *
33from Core import * 33from Core import *