Project

General

Profile

Actions

Bug #377

closed

Streaming: lttng list <sessionName> still show the default port instead of the selected one

Added by Tan le tran over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
10/16/2012
Due date:
% Done:

100%

Estimated time:

Description

Description:
============
  After using "lttng enable-consumer -C <portX> -D <portY>", "lttng list <sessionName>" 
  still show the default port being used for that session.

Commit used:
============
  userspace  : (oct12) 1fe734e wfcqueue: clarify locking usage
  lttng-ust  : (oct09) 1c7b4a9 Fix: memcpy of string is larger than source
  ttng-tools: (oct02)  4dbc372 ABI with support for compat 32/64 bits

Scenario:
=========
  1)_ lttng create ses1
  2)_ lttng enable-event <a_tracepoint_name> -u
  3)_ lttng enable-consumer -u -s ses1 -C tcp://192.168.0.1:51234 -D tcp://192.168.0.1:51235 -e
  4)_ lttng list ses1
            Tracing session ses1: [inactive]
                Trace path: net://192.168.0.1:51234/ [data: 5343] <===== This is incorrect (should be 512345)

            === Domain: UST global ===

            Channels:
            -------------
            - channel0: [enabled]

                Attributes:
                  overwrite mode: 0
                  subbufers size: 4096
                  number of subbufers: 4
                  switch timer interval: 0
                  read timer interval: 200
                  output: mmap()

                Events:
                  <a_tracepoint_name> (type: tracepoint) [enabled]

Actions

Also available in: Atom PDF