Lines Matching +full:non +full:- +full:interleave
1 # SPDX-License-Identifier: GPL-2.0
2 # intel-pt-events.py: Print Intel PT Events including Power Events and PTWRITE
3 # Copyright (c) 2017-2021, Intel Corporation.
27 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
47 glb_cpu = -1
77 ap.add_argument("--insn-trace", action='store_true')
78 ap.add_argument("--src-trace", action='store_true')
79 ap.add_argument("--all-switch-events", action='store_true')
80 ap.add_argument("--interleave", type=int, nargs='?', const=4, default=0)
105 if glb_args.interleave:
127 # Output at most glb_args.interleave output strings per cpu
130 countdown = glb_args.interleave
134 countdown -= 1
171 print("hw: %u cstate: %u sub-cstate: %u" % (hw, cstate, subcstate),
228 s = "non"
229 print("IFLAG: %u->%u %s branch" % (old_iflag, iflag, s), end=' ')
239 …return "VM:%5d VCPU:%03d %16s %5u/%-5u [%03u] %9u.%09u " % (machine_pid, vcpu, comm, pid, tid, cp…
241 return "%16s %5u/%-5u [%03u] %9u.%09u " % (comm, pid, tid, cpu, ts / 1000000000, ts %1000000000)
261 glb_disassembler.SetMode(inst, 0) # Assume 64-bit
286 print("%-40s %-30s" % (byte_str, text), end=' ')
323 src_file = ("..." + source_file_name[-37:]) + " "
436 if glb_args.interleave:
446 if glb_args.interleave:
453 vcpu = -1
456 print("VM:%5d VCPU:%03d %16s %5u/%-5u [%03u] %9u.%09u error type %u code %u: %s ip 0x%16x" %
459 print("%16s %5u/%-5u [%03u] %9u.%09u error type %u code %u: %s ip 0x%16x" %
467 if glb_args.interleave:
482 if machine_pid == -1:
488 switch_str = "%16s %5d/%-5d [%03u] %9u.%09u %5d/%-5d %s %s" % \