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

From: Ingo Molnar
Date: Wed Mar 25 2009 - 14:36:14 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> 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.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/