Changes to systemtap transport

Martin Hunt hunt@redhat.com
Wed Mar 14 16:25:00 GMT 2007


On Wed, 2007-03-14 at 11:45 -0400, Martin Hunt wrote:

> Now the real question. I think it would be best to have some basic
> format that percpu data is stored in.  I propose having the transport
> automatically put the following header on all data:
> 
> struct _stp_trace {
>         uint32_t sequence;      /* event number */
>         uint32_t pdu_len;       /* length of data after this trace */
> };
> 

I have checked in the rewrite of the transport code. I left the above as
the default for now. 

"stap -b -DNO_PERCPU_HEADERS" will get the old behavior.

Martin




More information about the Systemtap mailing list