This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Changes to systemtap transport
- From: Martin Hunt <hunt at redhat dot com>
- To: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Wed, 14 Mar 2007 12:25:31 -0400
- Subject: Re: Changes to systemtap transport
- Organization: Red Hat Inc.
- References: <1173887116.3613.31.camel@dragon>
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