lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* [2.11.0] Saving then loading network session loses absolute path
@ 2019-10-21 15:27 Kramer, Zach
  0 siblings, 0 replies; 2+ messages in thread
From: Kramer, Zach @ 2019-10-21 15:27 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 1180 bytes --]

Hi,

With all LTTng versions being 2.11.0 I have the following problem:

lttng-sessiond -d
lttng-relayd -d

lttng create example –set-url=net://localhost/test
OR
lttng create example --live –set-url=net://localhost/test
NOT
lttng create example –set-url=file:///home/<user>/lttng-traces/test

lttng enable-channel -u ch
lttng enable-event -u -a -c ch -s example
lttng start example

(traces are written to ~/lttng-traces/<host>/test)

lttng stop example
lttng save example
lttng destroy example
(remove lttng-traces/<host> for testing purposes)

lttng load example
lttng start example

(traces now exist in ~/lttng-traces/<host>/example-<timestamp>)

This is, for me, reproducible 100% of the time. I can reproduce the steps using the Trace Compass control view as well. If I override the session name and url, the problem persists.

The .lttng file seems valid (attached). This issue exists whether I use an existing .lttng file from 2.9 (which never showed this problem), or whether I create a new one like above.

Is this intended behavior? If not, any idea what could be happening here? Is this reproducible by others?

Best,
Zach


[-- Attachment #1.2: Type: text/html, Size: 6990 bytes --]

[-- Attachment #2: example.lttng --]
[-- Type: application/octet-stream, Size: 1694 bytes --]

<?xml version="1.0" encoding="UTF-8"?>
<sessions>
	<session>
		<name>example</name>
		<domains>
			<domain>
				<type>UST</type>
				<buffer_type>PER_UID</buffer_type>
				<channels>
					<channel>
						<name>ch</name>
						<enabled>true</enabled>
						<overwrite_mode>DISCARD</overwrite_mode>
						<subbuffer_size>524288</subbuffer_size>
						<subbuffer_count>4</subbuffer_count>
						<switch_timer_interval>0</switch_timer_interval>
						<read_timer_interval>0</read_timer_interval>
						<output_type>MMAP</output_type>
						<blocking_timeout>0</blocking_timeout>
						<monitor_timer_interval>1000000</monitor_timer_interval>
						<tracefile_size>0</tracefile_size>
						<tracefile_count>0</tracefile_count>
						<live_timer_interval>0</live_timer_interval>
						<events>
							<event>
								<name>*</name>
								<enabled>true</enabled>
								<type>TRACEPOINT</type>
								<loglevel_type>ALL</loglevel_type>
							</event>
						</events>
						<contexts/>
					</channel>
				</channels>
				<trackers/>
			</domain>
			<domain>
				<type>JUL</type>
				<buffer_type>PER_UID</buffer_type>
				<channels/>
			</domain>
			<domain>
				<type>LOG4J</type>
				<buffer_type>PER_UID</buffer_type>
				<channels/>
			</domain>
			<domain>
				<type>PYTHON</type>
				<buffer_type>PER_UID</buffer_type>
				<channels/>
			</domain>
		</domains>
		<started>false</started>
		<output>
			<consumer_output>
				<enabled>true</enabled>
				<destination>
					<net_output>
						<control_uri>tcp4://127.0.0.1:5342/test</control_uri>
						
					</net_output>
				</destination>
			</consumer_output>
		</output>
	</session>
</sessions>

[-- Attachment #3: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <SN4PR0601MB3614AC3C2037AEC1C434F84191690@SN4PR0601MB3614.namprd06.prod.outlook.com>]

end of thread, other threads:[~2019-10-21 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 15:27 [2.11.0] Saving then loading network session loses absolute path Kramer, Zach
     [not found] <SN4PR0601MB3614AC3C2037AEC1C434F84191690@SN4PR0601MB3614.namprd06.prod.outlook.com>
2019-10-21 18:11 ` Jonathan Rajotte-Julien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).