def simple_walk(data, arg):
    # TODO: pickup the 16 and 272 from offset in desc...

    tmp = data.contents.dtada_data
    name = cast(tmp + 16, c_char_p).value
    instance = deref(tmp + 272, c_int).value

    print '{0:60s} :{1:10d}'.format(name, instance)

    return 0

# =============================================================================
# Convenience stuff
# =============================================================================
Aggregate walker capable of reading a name and one value.
dataset/ETHPy150Open tmetsch/python-dtrace/dtrace_ctypes/consumer.py/simple_walk