*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
{
unsigned count = 0;
gint last_ret = 0;
- LttvTracesetPosition *currentPos;
struct bt_ctf_event *bt_event;
LttvEvent event;
LttTime endPositionTime;
+ //TODO ybrosseau 2013-10-17: Compare with end_position directly when its possible
if(end_position) {
endPositionTime = lttv_traceset_position_get_time(end_position);
}
if(ltt_time_compare(end, time) <= 0) {
break;
}
- /*
- currentPos = lttv_traceset_create_current_position(traceset);
- if(lttv_traceset_position_compare(currentPos,end_position ) == 0){
- lttv_traceset_destroy_position(currentPos);
- break;
- }
- lttv_traceset_destroy_position(currentPos);
- */
+ //TODO ybrosseau 2013-10-17: Compare with end_position directly when its possible
if(end_position && (ltt_time_compare(endPositionTime, time) <= 0)) {
break;
}