def select_io( hash ):
    """
    Returns the relevant i/o for a method whose call is characterized by the hash

    :param hash: The hash for the CallDescriptor

    :rtype list(tuple( hash, stack, methodname, returnval, args, packet_num )):
    """
    load_cache(True)
    global CACHE_
    res = []
    record_used('cache', hash)
    for d in CACHE_['cache'].get(hash, {}).values():
        d = pickle.loads(d)
        res += [(d['hash'], d['stack'], d['methodname'], d['returnval'], d['args'], d['packet_num'])]
    return res