To reproduce cd into directory with a space and capture. In different locales `Desktop` directory could be two words separated by a space. For a simple example dir name is "Work place". It then writes into file named "Work" but file is 'broken' anyway- kernelshark then reports that resulting file "contains no data". Perhaps, filename that is passed into trace-cmd needs shell-escaping. I understand that Capture is a noob tool, but still it's better to work.
Hi Vitaly, I see that the Capture tool is valuable for you. Feel free to investigate the bug and find a fix. If you send me a patch, I will be more than happy to take it. cheers, Y
It seems that the problem can be fixed with this modification to `bin/kshark-su-record`: ``` -pkexec kshark-record -o ${PWD}/trace.dat +pkexec kshark-record -o "${PWD}/trace.dat" ```
Hi Vitaly, Send your patch to the mailing list: linux-trace-devel@vger.kernel.org Note that number of different projects are sending patches to this list so please start the title of your patch with 'kernel-shark: ...' thanks, Y.