Project

General

Profile

Actions

Bug #727

closed

relayd always replies VIEWER_GET_NEXT_INDEX with lttng_viewer_index.stream_id == 0

Added by Marc-Andre Laperle over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/24/2014
Due date:
% Done:

0%

Estimated time:

Description

Using lttng-tools 2.4.0-rc3

I am sending lttng_viewer_cmd+VIEWER_GET_NEXT_INDEX to relayd with a valid stream id, for example 3. I get back a struct lttng_viewer_index with the stream_id set to 0 instead of 3 (the status is VIEWER_INDEX_OK). To make sure I didn't do something wrong on the receiving side, I added some debug output to relayd before it sends the reply:

---live.c:1322---

...
DBG);

send_reply:
...

Here is the output:

DEBUG1 [2562/2568]: Viewer get next index (in viewer_get_next_index() at live.c:1158)
DEBUG1 [2562/2568]: viewer_index.stream_id= 0 (in viewer_get_next_index() at live.c:1322)
DEBUG1 [2562/2568]: Index 0 for stream 3 sent, status 1 (in viewer_get_next_index() at live.c:1336)

Actions

Also available in: Atom PDF