Actions
Bug #164
closedbt_ctf_iter not correctly initialized if no start parameter passed
Status:
Resolved
Priority:
Normal
Assignee:
Julien Desfossez
Category:
-
Target version:
-
Start date:
03/09/2012
Due date:
% Done:
0%
Estimated time:
Description
It seems we cannot pass NULL as a start parameter when we create an iterator.
If I do:
begin_pos.type = BT_SEEK_BEGIN;
bt_ctf_iter_create(ctx, &begin_pos, NULL);
I get the right events: (showing event name and raw timestamp)
sample_tracepoint:message 121447642819094
sample_tracepoint:message 121447642821928
If I do just:
bt_ctf_iter_create(ctx, NULL, NULL);
I get 4 more events at the beginning:
sample_tracepoint:message 18446744073709551615
sample_tracepoint:message 18446744073709551615
sample_tracepoint:message 18446744073709551615
sample_tracepoint:message 18446744073709551615
sample_tracepoint:message 121447642819094
sample_tracepoint:message 121447642821928
Files
Updated by Julien Desfossez about 12 years ago
- Status changed from New to Resolved
fixed by b42d4e4eb51a906d1391a6d595fe7bff8b427c7d
Actions