sendmsg data truncated

Travis Emmert trav.emme at gmail.com
Fri Sep 5 22:51:15 UTC 2014


Hi All,

Thanks for the responses. I tried that option but failed todo properly :)
Works as expected, sorry for bothering the mailing list.



On Fri, Sep 5, 2014 at 5:05 PM, Luca Clementi <luca.clementi at gmail.com>
wrote:

> On Fri, Sep 5, 2014 at 1:10 PM, Travis Emmert <trav.emme at gmail.com> wrote:
> > Hi All,
> >
> > I apologize if this is a topic thats been discussed at length, if so,
> please
> > point me to any previous discussions and I will educate myself.
> >
> > Is there a way to get strace to not truncate the data within a sendmsg
> call?
> > I'm trying to trace a client that interacts with a server over a unix
> > socket, and simply want access to the full sendmsg data. The alternative
> > solutions include socat and system-tap; but I'd like to simply get
> strace to
> > function in this capacity.
> >
> > Anyone familar with the strace code know how difficult a change this
> would
> > be? I'd rather do a quick hack in strace than work with system-tap.
> >
> > Thanks,
> > Travis
> >
> >
>
> Hey Travis,
> have you tried with:
> ----
>   -s strsize  Specify the maximum string size to print (the default is
> 32).  Note that filenames are not considered strings and are always
> printed in full.
> ----
>
> Luca
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140905/bba296c8/attachment.html>


More information about the Strace-devel mailing list