<div dir="ltr">Hi All,<div><br></div><div>Thanks for the responses. I tried that option but failed todo properly :) </div><div>Works as expected, sorry for bothering the mailing list.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 5:05 PM, Luca Clementi <span dir="ltr"><<a href="mailto:luca.clementi@gmail.com" target="_blank">luca.clementi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Sep 5, 2014 at 1:10 PM, Travis Emmert <<a href="mailto:trav.emme@gmail.com">trav.emme@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I apologize if this is a topic thats been discussed at length, if so, please<br>
> point me to any previous discussions and I will educate myself.<br>
><br>
> Is there a way to get strace to not truncate the data within a sendmsg call?<br>
> I'm trying to trace a client that interacts with a server over a unix<br>
> socket, and simply want access to the full sendmsg data. The alternative<br>
> solutions include socat and system-tap; but I'd like to simply get strace to<br>
> function in this capacity.<br>
><br>
> Anyone familar with the strace code know how difficult a change this would<br>
> be? I'd rather do a quick hack in strace than work with system-tap.<br>
><br>
> Thanks,<br>
> Travis<br>
><br>
><br>
<br>
</div></div>Hey Travis,<br>
have you tried with:<br>
----<br>
-s strsize Specify the maximum string size to print (the default is<br>
32). Note that filenames are not considered strings and are always<br>
printed in full.<br>
----<br>
<br>
Luca<br>
<br>
------------------------------------------------------------------------------<br>
Slashdot TV.<br>
Video for Nerds. Stuff that matters.<br>
<a href="http://tv.slashdot.org/" target="_blank">http://tv.slashdot.org/</a><br>
_______________________________________________<br>
Strace-devel mailing list<br>
<a href="mailto:Strace-devel@lists.sourceforge.net">Strace-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/strace-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/strace-devel</a><br>
</blockquote></div><br></div>