Re: [PATCH 2/5][RFC] tracing: move function profiler data out of function struct

Steven Rostedt
2009-03-25T18:40:27Z

On Wed, 25 Mar 2009, Ingo Molnar wrote:

>
> * Steven Rostedt <rostedt@goodmis.org> wrote:
>
> > struct ftrace_profile {
> > struct hlist_node *node;
> > unsigned long ip;
> > unsigned long hit;
> > unsigned long long calltime;
> > };
> >
> > on x86_64 that is 40 bytes. (node is 16, ip is 8, hit is 8, calltime is 8)
>
> node is a pointer so it's 8 bytes - so the whole thing is 32 bytes.
> Acceptable IMO - and could be compressed further if needed.

that was me doing the struct from memory. Because I had already switched
out of that branch :-/

It is really a struct hlist_node node; not a pointer. My mistake.

-- Steve