def METHOD_NAME(cpu, data, size):
    event = b["events"].event(data)
    global initial_ts
    if not initial_ts:
        initial_ts = event.ts
    if args.name and bytes(args.name) not in event.name:
        return
    if args.timestamp:
        delta = event.ts - initial_ts
        print("%-14.9f" % (float(delta) / 1000000), end="")
    if args.print_uid:
        print("%-6d" % event.uid, end="")
    print("%-14.14s %-6s %8.2f %5d" %
          (event.name.decode('utf-8', 'replace'),
           event.id & 0xffffffff if args.tid else event.id >> 32,
           float(event.delta) / 1000000, event.nr_reclaimed), end="")
    if args.verbose:
        print("%10d" % K(event.vm_stat[NR_FREE_PAGES]))
    else:
        print("")
    sys.stdout.flush()