projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update FSF address
[lttv.git]
/
lttv
/
lttv
/
tracecontext.c
diff --git
a/lttv/lttv/tracecontext.c
b/lttv/lttv/tracecontext.c
index 165a890f688d49b539ab7f10860746976a032b59..e4f89a72067e4eb3696df9f85ec39be8bf38373b 100644
(file)
--- a/
lttv/lttv/tracecontext.c
+++ b/
lttv/lttv/tracecontext.c
@@
-12,8
+12,8
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* 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., 5
9 Temple Place - Suite 330
, Boston,
- * MA 0211
1-1307
, USA.
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston,
+ * MA 0211
0-1301
, USA.
*/
#ifdef HAVE_CONFIG_H
*/
#ifdef HAVE_CONFIG_H
@@
-693,13
+693,14
@@
guint lttv_process_traceset_middle(LttvTracesetContext *self,
unsigned count = 0;
unsigned count = 0;
+ gint last_ret = 0;
struct bt_ctf_event *bt_event;
LttvEvent event;
while(TRUE) {
struct bt_ctf_event *bt_event;
LttvEvent event;
while(TRUE) {
- if(
(count >= nb_events) && (nb_events != G_MAXULONG
)) {
+ if(
last_ret == TRUE || ((count >= nb_events) && (nb_events != G_MAXULONG)
)) {
break;
}
break;
}
@@
-712,7
+713,7
@@
guint lttv_process_traceset_middle(LttvTracesetContext *self,
to retrieve the right state container */
event.state = self->tmpState;
to retrieve the right state container */
event.state = self->tmpState;
- lttv_hooks_call(self->event_hooks, &event);
+ l
ast_ret = l
ttv_hooks_call(self->event_hooks, &event);
if(bt_iter_next(bt_ctf_get_iter(self->iter)) < 0) {
printf("ERROR NEXT\n");
if(bt_iter_next(bt_ctf_get_iter(self->iter)) < 0) {
printf("ERROR NEXT\n");
This page took
0.040706 seconds
and
4
git commands to generate.