Great! Got it. Thank you. Rui
On Tue, Jul 31, 2012 at 1:26 PM, Mathieu Desnoyers < [email protected]> wrote: > By close integration, I mean that we would have to change the in-kernel > structure declarations and wrap them into macros, so we can re-use those > headers within the TRACE_EVENT code to serialize the events and express > the event metadata. > > Mathieu > > * Rui Han ([email protected]) wrote: > > Hi Mathieu, > > > > Thank you very much for your reply. I'll look into that solution. By > "close > > integration", do you mean minimum overhead? Could you be more > > specific about the issue that prevent it from being implemented in > current > > version. So that I can tell whether I am be able to do it or not within > > time constrain. > > > > Regards, > > Rui > > > > On Tue, Jul 31, 2012 at 12:29 PM, Mathieu Desnoyers < > > [email protected]> wrote: > > > > > * Rui Han ([email protected]) wrote: > > > > Hi, > > > > > > > > In the sys_connect and sys_bind kernel tracing, a pointer to the > socdaddr > > > > struct has been dumped. (i.e. the second argument in sys_bind: { > cpu_id > > > = 0 > > > > }, { fd = 39, umyaddr = 0x7FE18E3D0B80, addrlen = 0xC }). What if I > want > > > to > > > > access the struct for the IP and port number related to the socket? > Is > > > > there an easy way to do this? Please give me some hints. Thank you > very > > > > much. > > > > > > current, none. > > > > > > A "quick" way to do this might be to add a tracepoint into these system > > > calls. > > > > > > Eventually, we might look into supporting writing complex data > > > structures into lttng-modules, but this would require close integration > > > with the Linux kernel sources. > > > > > > Thanks, > > > > > > Mathieu > > > > > > > > > > > Regards, > > > > Rui > > > > > > > _______________________________________________ > > > > lttng-dev mailing list > > > > [email protected] > > > > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > > > > > > > > > -- > > > Mathieu Desnoyers > > > Operating System Efficiency R&D Consultant > > > EfficiOS Inc. > > > http://www.efficios.com > > > > > -- > Mathieu Desnoyers > Operating System Efficiency R&D Consultant > EfficiOS Inc. > http://www.efficios.com >
_______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
