def cb(cpu, data, size):
    assert size >= ct.sizeof(Data)
    event = ct.cast(data, ct.POINTER(Data)).contents
    print((cpu, float(event.ts) / 1000000, event.magic) % "[%0d] %f: %x")
    global counter
    counter += 1
dataset/ETHPy150Open iovisor/bcc/examples/tracing/trace_perf_output.py/cb/swapped operands of `%`