1/** 2 * @file db_travel.c 3 * Inspection of a DB 4 * 5 * @remark Copyright 2002 OProfile authors 6 * @remark Read the file COPYING 7 * 8 * @author Philippe Elie 9 */ 10 11#include "odb.h" 12 13odb_node_t * odb_get_iterator(odb_t const * odb, odb_node_nr_t * nr) 14{ 15 /* node zero is unused */ 16 *nr = odb->data->descr->current_size - 1; 17 return odb->data->node_base + 1; 18} 19