diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2024-09-30 12:28:07 +0300 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2024-09-30 12:28:07 +0300 |
commit | 3fd6c59042dbba50391e30862beac979491145fe (patch) | |
tree | 63d729254efdf6446d4d4a05e7a8a0dd803eedec /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 1d7ec62374bf049349c47f07f0b95a6524bb1b98 (diff) | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | linux-3fd6c59042dbba50391e30862beac979491145fe.tar.xz |
Merge tag 'v6.12-rc1' into clk-meson-next
Linux 6.12-rc1
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
-rwxr-xr-x | tools/perf/scripts/python/arm-cs-trace-disasm.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/perf/scripts/python/arm-cs-trace-disasm.py b/tools/perf/scripts/python/arm-cs-trace-disasm.py index d973c2baed1c..7aff02d84ffb 100755 --- a/tools/perf/scripts/python/arm-cs-trace-disasm.py +++ b/tools/perf/scripts/python/arm-cs-trace-disasm.py @@ -192,17 +192,16 @@ def process_event(param_dict): ip = sample["ip"] addr = sample["addr"] + if (options.verbose == True): + print("Event type: %s" % name) + print_sample(sample) + # Initialize CPU data if it's empty, and directly return back # if this is the first tracing event for this CPU. if (cpu_data.get(str(cpu) + 'addr') == None): cpu_data[str(cpu) + 'addr'] = addr return - - if (options.verbose == True): - print("Event type: %s" % name) - print_sample(sample) - # If cannot find dso so cannot dump assembler, bail out if (dso == '[unknown]'): return |