diff options
-rw-r--r-- | tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py index 9d15f484308c..99ff1b7a0d2c 100644 --- a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py +++ b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |||
@@ -36,7 +36,6 @@ try: | |||
36 | machine_to_id = { | 36 | machine_to_id = { |
37 | 'x86_64': audit.MACH_86_64, | 37 | 'x86_64': audit.MACH_86_64, |
38 | 'alpha' : audit.MACH_ALPHA, | 38 | 'alpha' : audit.MACH_ALPHA, |
39 | 'armeb' : audit.MACH_ARMEB, | ||
40 | 'ia64' : audit.MACH_IA64, | 39 | 'ia64' : audit.MACH_IA64, |
41 | 'ppc' : audit.MACH_PPC, | 40 | 'ppc' : audit.MACH_PPC, |
42 | 'ppc64' : audit.MACH_PPC64, | 41 | 'ppc64' : audit.MACH_PPC64, |
@@ -46,6 +45,10 @@ try: | |||
46 | 'i586' : audit.MACH_X86, | 45 | 'i586' : audit.MACH_X86, |
47 | 'i686' : audit.MACH_X86, | 46 | 'i686' : audit.MACH_X86, |
48 | } | 47 | } |
48 | try: | ||
49 | machine_to_id['armeb'] = audit.MACH_ARMEB | ||
50 | except: | ||
51 | pass | ||
49 | machine_id = machine_to_id[os.uname()[4]] | 52 | machine_id = machine_to_id[os.uname()[4]] |
50 | except: | 53 | except: |
51 | if not audit_package_warned: | 54 | if not audit_package_warned: |