def 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 '+--> walking', name, instance

    return 0
Aggregate walker.
dataset/ETHPy150Open tmetsch/python-dtrace/attic/dtrace.py/walk