<div dir="ltr">Hi,<div><br></div><div>I am entirely new to the lttng-tools and frankly not aware of anything. But, one of our company's customer reported this issue, so I tried reproducing. I was able to reproduce it with the version of lttng-tool (2.12.4 - (Ta) Meilleure) installed on my Ubuntu 16.04 (<a href="https://lttng.org/docs/v2.12/#doc-ubuntu-ppa">https://lttng.org/docs/v2.12/#doc-ubuntu-ppa</a>).</div><div><br></div><div>Issue is, if I try to snapshot a session with an output filename containing a ".", it fails. Steps I followed are given below :</div><div><br></div><div><b>"</b></div><div>root@MVIN00032:~# lttng create flightrecorder --snapshot<br>Snapshot session flightrecorder created.<br>Default snapshot output set to /home/shubham/lttng-traces/flightrecorder-20221223-153147<br>Every channel enabled for this session will be set to mmap output and default to overwrite mode.<br><br>root@MVIN00032:~# lttng enable-event -k -a<br>All Kernel events are enabled in channel channel0<br><br>root@MVIN00032:~# lttng start<br>Tracing started for session flightrecorder<br><br>root@MVIN00032:~# lttng -vvv snapshot record -s flightrecorder -n <b>record.dump</b><br>DEBUG1 - 15:32:15.173476719 [7159/7159]: LSM cmd type : 28 (in send_session_msg() at lttng-ctl.c:128)<br><b>Error: Create directory failed</b><br>DEBUG1 - 15:32:15.197542565 [7159/7159]: Clean exit (in clean_exit() at lttng.c:152)<br><br>root@MVIN00032:~# lttng -vvv snapshot record -s flightrecorder -n <b>record_dump</b><br>DEBUG1 - 15:32:24.013450964 [7442/7442]: LSM cmd type : 28 (in send_session_msg() at lttng-ctl.c:128)<br><b>Snapshot recorded successfully for session flightrecorder</b><br><br>root@MVIN00032:~# lttng stop<br>Waiting for data availability<br>Tracing stopped for session flightrecorder<br><br>root@MVIN00032:~# lttng destroy <br>Session flightrecorder destroyed <b>"</b><br></div><div>-----------------------------------------------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>I tried the same with lttng-tools v2.9.5 (as one of my company's product uses this version) under runqemu session, which worked fine for 'record.dump' & with lttng-tools v2.11.5 (another product uses this version) failed with the same error. So, maybe in between these versions an issue was introduced.</div><div><br></div><div>I am not sure whether this is the correct location to send this mail, but I didn't find any solution on the Internet and I am not aware of lttng at all. I was able to reproduce the issue with help from the internet, so thought to report it via this mailing list.</div><div><br></div><div>Thanks,</div><div>Shubham</div><div><b><br></b></div></div>